NewGaoKaoApi/New_College.IServices/IUserRoleServices.cs

18 lines
361 B
C#

using New_College.IServices.BASE;
using New_College.Model.Models;
using System.Threading.Tasks;
namespace New_College.IServices
{
/// <summary>
/// UserRoleServices
/// </summary>
public interface IUserRoleServices :IBaseServices<UserRole>
{
Task<UserRole> SaveUserRole(int uid, int rid);
Task<int> GetRoleIdByUid(int uid);
}
}