public HttpResponseMessage GetRemainingHours(int projectId, int jobId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     Content = new ObjectContent <string>(TeamLeaderLogic.GetRemainingHours(projectId, jobId), new JsonMediaTypeFormatter())
 };
Esempio n. 2
0
 public HttpResponseMessage GetRemainingHours(int projectId, int jobId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     //curl -X GET -v http://localhost:59628/api/getRemainingHours/
     Content = new ObjectContent <string>(TeamLeaderLogic.GetRemainingHours(projectId, jobId), new JsonMediaTypeFormatter())
 };