Esempio n. 1
0
 public List <Role> GetAllRole()
 {
     return(_roleDALProvider.GetAll());
 }
Esempio n. 2
0
 /// <summary>
 /// 得到所有角色
 /// </summary>
 /// <returns></returns>
 public IQueryable <RoleEntity> GetRoles()
 {
     return(mobjRoleDAL.GetAll());
 }
Esempio n. 3
0
 public List <Role> GetAll()
 {
     return(_roleDAL.GetAll().ToList());
 }
Esempio n. 4
0
 public List <Role> GetAll()
 {
     return(roleDAL.GetAll());
 }
Esempio n. 5
0
 public IEnumerable<RoleDTO> GetAll()
 {
     return dal.GetAll().ToArray();
 }