Example #1
0
        public List <OTPConfigurationDTO> GetOTPConfiguration(string i_sConnectionString)
        {
            List <OTPConfigurationDTO> lstUserLoginDetails = new List <OTPConfigurationDTO>();

            try
            {
                using (TwoFactorAuthDAL objOTPAuthDAL = new TwoFactorAuthDAL())
                {
                    lstUserLoginDetails = objOTPAuthDAL.GetOTPConfiguration(i_sConnectionString).ToList();
                }
            }
            catch (Exception exp)
            {
                throw exp;
            }
            return(lstUserLoginDetails);
        }