예제 #1
0
 public HttpResponseMessage GetCollectionOfHoursThatUserWorkedOnProjectInPrecent(int idUser)
 {
     return(new HttpResponseMessage(HttpStatusCode.OK)
     {
         Content = new ObjectContent <Dictionary <UserProject, double> >(LogicProjects.GetDictionaryOfHoursThatUserWorkedOnProjectInPrecent(idUser), new JsonMediaTypeFormatter())
     });
 }