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