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