Пример #1
0
 public MPMerchantContractModel()
 {
     HistoryDetail = new MPMerchantHistoryDetailModel();
     ActivityDetail = new MPMerchantActivityDetailModel();
     SalesRep = new List<MPMerchantContractSalesRepresentativeModel>();
 }
Пример #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;
        }