public HttpResponseMessage UpdateOfferEmailFlag(bool isEmailSent, long offerId, long merchantId, long contractId) { using (CreditReportTier mt = new CreditReportTier()) { var r = mt.UpdateOfferEmailFlag(isEmailSent, offerId, merchantId, contractId); return this.Request.CreateResponse(HttpStatusCode.OK, r); } }