Example #1
0
 public List <KycCommission> GetRptkycCommissionsList(string reportName, string regFromDate, string regToDate, string commissionStatus, string authFromDate, string authToDate, string distributorNo, string agentNo, string transNo)
 {
     if (transNo == "null")
     {
         return(kycRepository.GetRptkycCommissionsList(reportName, regFromDate, regToDate, commissionStatus, authFromDate, authToDate, distributorNo, agentNo, transNo));
     }
     else
     {
         return(kycRepository.GetRptkycCommissionsList(reportName, regFromDate, regToDate, commissionStatus,
                                                       authFromDate, authToDate, distributorNo, agentNo, transNo).Where(x => x.TransNo == transNo).ToList());
     }
 }