示例#1
0
 /// <summary>
 /// 获取数据列表
 /// </summary>
 /// <returns></returns>
 public List <RoleSettingDto> GetAllList()
 {
     return(_repository.GetAllList());
 }
 /// <summary>
 /// 获取与指定权限有关的角色设置
 /// </summary>
 /// <returns></returns>
 private List <RoleSettingDto> GetRoleSettingForTheRight(string rightId)
 {
     return(_roleSetingRepository.GetAllList(x => x.LinkId == rightId && x.LinkType == 0));
 }