//project manager assignment , Team leader and manager list public HttpResponseMessage GetProjectManagerList() { HttpResponseMessage response = null; try { List <ReportingTo> manager_list = ProjectRepo.GetProjectManagerList(); response = Request.CreateResponse(HttpStatusCode.OK, new EMSResponseMessage("EMS_001", "Success", manager_list)); } catch (Exception exception) { Debug.WriteLine(exception.Message); Debug.WriteLine(exception.GetBaseException()); response = Request.CreateResponse(HttpStatusCode.OK, new EMSResponseMessage("EMS_101", "Application Error", exception.Message)); } return(response); }