public HttpResponseMessage InsertOffers([FromBody] MerchantInformationOfferModel model, Int64 merchantId, Int64 contractId, int isCompleted) { using (CreditReportTier mt = new CreditReportTier()) { if (mt.InsertOffers(model, merchantId, contractId, isCompleted)) { return this.Request.CreateResponse(HttpStatusCode.OK); } else { return this.Request.CreateResponse(HttpStatusCode.BadRequest); } } }