public HttpResponseMessage GetCompany(long companyId) { var company = _logic.ReadCompany(companyId); if (company == null) { return(Request.CreateResponse(HttpStatusCode.NotFound)); } return(Request.CreateResponse(HttpStatusCode.OK, company)); }
public HttpResponseMessage GetCompany(long companyId) { var company = _logic.ReadCompany(companyId); if (company == null) { return(Request.CreateResponse(HttpStatusCode.NotFound)); } return(Request.CreateResponse(HttpStatusCode.OK, company)); }