Beispiel #1
0
 /// <summary>
 /// Get manage Profile View model
 /// </summary>
 /// <param name="currentUser">current user</param>
 public ManageProfileVm GetManageProfileVm(User currentUser)
 {
     return(new ManageProfileVm
     {
         AllTeams = TeamDataAccesor.GetAllTeam(),
         AllUser = GetAllUsersByTeam(currentUser)
     });
 }
Beispiel #2
0
 public List <Team> GetAllTeams()
 {
     return(TeamDataAccesor.GetAllTeam());
 }