You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
593 B
C#
30 lines
593 B
C#
1 year ago
|
|
||
|
|
||
|
//----------SysRole开始----------
|
||
|
|
||
|
|
||
|
|
||
|
using Admin.Core.Model.Sys;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace Admin.Core.IRepository.ISys
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 角色信息表IRepository
|
||
|
/// </summary>
|
||
|
public interface ISysRoleRepository : IBaseRepository<SysRole>//类名
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取所有角色信息
|
||
|
/// </summary>
|
||
|
/// <param name="userId"></param>
|
||
|
/// <returns></returns>
|
||
|
Task<List<SysRole>> GetUserRolesByUserId(int userId);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
//----------SysRole结束----------
|
||
|
|