public MPMerchantContractModel()
 {
     HistoryDetail = new MPMerchantHistoryDetailModel();
     ActivityDetail = new MPMerchantActivityDetailModel();
     SalesRep = new List<MPMerchantContractSalesRepresentativeModel>();
 }
Example #2
0
        public MPMerchantHistoryDetailModel RetrieveMerchantHistory(int merchantId, DateTime HistoryStartDate, DateTime HistoryEndDate)
        {
            IList<MPMerchantHistoryModel> objDetails = merchantProfileRepository.RetrieveMerchantHistory(merchantId, HistoryStartDate, HistoryEndDate);
            MPMerchantHistoryDetailModel objActivities = new MPMerchantHistoryDetailModel();
            objActivities.HistoryDetail = objDetails.ToList();

            return objActivities;
        }