Esempio n. 1
0
 public HttpResponseMessage GetUsersAndHoursThatUsersWorkedUnderTheirTeamLeader(int idTeamLeader)
 {
     return(new HttpResponseMessage(HttpStatusCode.OK)
     {
         Content = new ObjectContent <Dictionary <User, ObjectOfHours> >(LogicProjects.GetUsersAndHoursThatUsersWorkedUnderTheirTeamLeader(idTeamLeader), new JsonMediaTypeFormatter())
     });
 }