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