public HttpResponseMessage GetProjectDeatails(int teamLeaderId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     Content = new ObjectContent <List <Project> >(TeamLeaderLogic.GetProjectDeatails(teamLeaderId), new JsonMediaTypeFormatter())
 };
Exemple #2
0
 public HttpResponseMessage GetProjectDeatails(int teamLeaderId) => new HttpResponseMessage(HttpStatusCode.OK)
 {
     //curl -X GET -v http://localhost:59628/api/getProjectDeatails/5
     Content = new ObjectContent <List <Project> >(TeamLeaderLogic.GetProjectDeatails(teamLeaderId), new JsonMediaTypeFormatter())
 };