Ejemplo n.º 1
0
 public MPMerchantContractModel()
 {
     HistoryDetail = new MPMerchantHistoryDetailModel();
     ActivityDetail = new MPMerchantActivityDetailModel();
     SalesRep = new List<MPMerchantContractSalesRepresentativeModel>();
 }
Ejemplo n.º 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;
        }