/// <summary> /// This function will return duplicate transaction records exists in System /// </summary> /// <param name="i_sConnectionString">DB Connection string</param> /// <param name="i_UserInfoId">UserInfo ID</param> /// <returns>Object InsiderDashboard DTO</returns> public List <DupTransCntDTO> Get_DupTransCnt(string i_sConnectionString, int i_UserInfoId) { List <DupTransCntDTO> lstDupTransCnt = new List <DupTransCntDTO>(); try { using (var objInsiderDashboardDAL = new InsiderDashboardDAL()) { lstDupTransCnt = objInsiderDashboardDAL.GetDupTransCnt(i_sConnectionString, i_UserInfoId).ToList <DupTransCntDTO>(); } } catch (Exception exp) { throw exp; } return(lstDupTransCnt); }
public PasswordExpiryReminderDTO GetPasswordExpiryReminder(string i_sConnectionString, int nUserId) { PasswordExpiryReminderDTO objPasswordExpiryReminderDTO = new PasswordExpiryReminderDTO(); try { //InsiderDashboardDAL objInsiderDashboardDAL = new InsiderDashboardDAL(); using (var objInsiderDashboardDAL = new InsiderDashboardDAL()) { objPasswordExpiryReminderDTO = objInsiderDashboardDAL.GetPasswordExpiryReminder(i_sConnectionString, nUserId); } } catch (Exception exp) { throw exp; } return(objPasswordExpiryReminderDTO); }
public InsiderDashboardDTO GetTradingCalenderDetails(string i_sConnectionString, int nLoggedInUserId) { InsiderDashboardDTO objInsiderDashboardDTO = new InsiderDashboardDTO(); try { //InsiderDashboardDAL objInsiderDashboardDAL = new InsiderDashboardDAL(); using (var objInsiderDashboardDAL = new InsiderDashboardDAL()) { objInsiderDashboardDTO = objInsiderDashboardDAL.GetTradingCalenderDetails(i_sConnectionString, nLoggedInUserId); } } catch (Exception exp) { throw exp; } return(objInsiderDashboardDTO); }