Example #1
0
        public List <RegInfoReport> GetRegReportByCategory(string fromDate, string toDate, string regSource, string status, string accCategory, string regStatus)
        {
            List <RegInfoReport> regInfoReports   = new List <RegInfoReport>();
            Base64Conversion     base64Conversion = new Base64Conversion();

            regInfoReports = kycRepository.GetRegReportByCategory(fromDate, toDate, regSource, status, accCategory, regStatus);
            foreach (var item in regInfoReports)
            {
                if (base64Conversion.IsBase64(item.PreAddr))
                {
                    item.PreAddr = base64Conversion.DecodeBase64(item.PreAddr);
                }
            }
            return(regInfoReports);
        }