public HttpResponseMessage Get() { try { return(Request.CreateResponse(HttpStatusCode.OK, MilestoneRepository.ReadAll())); } catch (Exception exc) { return(Request.CreateResponse(HttpStatusCode.BadRequest, "Generic error happened.")); } }
public HttpResponseMessage Get() { try { return(Request.CreateResponse(HttpStatusCode.OK, MilestoneRepository.ReadAll())); } catch (Exception exc) { return(Request.CreateResponse(HttpStatusCode.BadRequest, "Generic error happened.")); } }