示例#1
0
 public List <UserRole> GetAll()
 {
     try
     {
         return(_userRoleDAL.GetAll().ToList());
     }
     catch
     {
         throw new EmptyListException("UserRole");
     }
 }
 public ICollection <Model.UserRole> GetList()
 {
     return(_userRoleDAL.GetAll());
 }
示例#3
0
 public List <UserRole> GetAll()
 {
     return(_userRoleDAL.GetAll().ToList());
 }