public HttpResponseMessage GetWorkersHours(int projectId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     Content = new ObjectContent <List <Object> >(TeamLeaderLogic.getWorkersHours(projectId), new JsonMediaTypeFormatter())
 };
Beispiel #2
0
 public HttpResponseMessage GetWorkersHours(int projectId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     //curl -X GET -v http://localhost:59628/api/getWorkersHours/11
     Content = new ObjectContent <List <Object> >(TeamLeaderLogic.getWorkersHours(projectId), new JsonMediaTypeFormatter())
 };