public Dictionary <User, List <Award> > GetAllUsersWAwards() { Dictionary <User, List <Award> > temp = new Dictionary <User, List <Award> >(); foreach (User user in usersDao.GetAllUsers()) { List <Award> awards = GetAllAwardsOfUser(user); if (awards != null) { temp.Add(user, awards); } else { temp.Add(user, new List <Award>()); } } return(temp); }
public List <User> GetAllUsers() => daoUsers.GetAllUsers();
public IList <User> GetAllUsers() { return(dao.GetAllUsers()); }