public HttpResponseMessage DeleteCompany(long CompanyId) { var isDeleted = _logic.Delete(CompanyId); if (isDeleted == true) { return(Request.CreateResponse(HttpStatusCode.OK)); } else { return(Request.CreateResponse(HttpStatusCode.NotModified)); } }