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