Esempio n. 1
0
        public HttpResponseMessage UpdateCompany(CompanyPoco company)
        {
            var isUpdated = _logic.Update(company.Id, company);

            if (isUpdated == true)
            {
                return(Request.CreateResponse(HttpStatusCode.OK, company));
            }
            else
            {
                return(Request.CreateResponse(HttpStatusCode.NotModified, company));
            }
        }