Blog.Core/Blog.Core.IServices/IUserRoleServices.cs

18 lines
358 B
C#
Raw Permalink Normal View History

2018-11-07 12:54:10 +08:00
using Blog.Core.IServices.BASE;
using Blog.Core.Model.Models;
using System.Threading.Tasks;
namespace Blog.Core.IServices
{
/// <summary>
/// UserRoleServices
/// </summary>
public interface IUserRoleServices :IBaseServices<UserRole>
{
2023-04-02 15:16:37 +08:00
Task<UserRole> SaveUserRole(long uid, long rid);
Task<int> GetRoleIdByUid(long uid);
2018-11-07 12:54:10 +08:00
}
}