public HttpResponseMessage RetrieveMerchantStatements(int merchantId, DateTime StatementsFrom, DateTime StatementsTo) { MPMerchantStatementsDetailModel response; using (MerchantProfileTier mt = new MerchantProfileTier()) { response = mt.RetrieveMerchantStatements(merchantId, StatementsFrom, StatementsTo); return this.Request.CreateResponse(HttpStatusCode.OK, response); } }