// GET: api/Project/id public IHttpActionResult GetProject(int id) { try { return(Ok(ProjectDataService.GetProjectService(id))); } catch (Exception ex) { return(ResponseMessage(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex))); } }