public HttpResponseMessage RetrieveMerchanHistory(int merchantId, DateTime HistoryStartDate, DateTime HistoryEndDate)
 {
     MPMerchantHistoryDetailModel response;
     using (MerchantProfileTier mt = new MerchantProfileTier())
     {
         response = mt.RetrieveMerchantHistory(merchantId, HistoryStartDate, HistoryEndDate);
         return this.Request.CreateResponse(HttpStatusCode.OK, response);
     }
 }