public Dictionary <Award, List <User> > GetAllAwardsWUsers() { Dictionary <Award, List <User> > temp = new Dictionary <Award, List <User> >(); foreach (Award award in awardsDao.GetAllAwards()) { List <User> users = GetAllUsersWithAward(award); if (users != null) { temp.Add(award, users); } else { temp.Add(award, new List <User>()); } } return(temp); }
public List <Award> GetAllAwards() => daoAwards.GetAllAwards();