public HttpResponseMessage GetRemainingHours(int projectId, int jobId) => new HttpResponseMessage(HttpStatusCode.OK) { Content = new ObjectContent <string>(TeamLeaderLogic.GetRemainingHours(projectId, jobId), new JsonMediaTypeFormatter()) };
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()) };