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