Example #1
0
 /// <summary>
 /// This method is used for the get details for User notification.
 /// </summary>
 /// <param name="i_sConnectionString">DB COnnection string</param>
 /// <param name="inp_iLoggedInUserId"> LoggedIn User ID</param>
 /// <returns></returns>
 public List <NotificationDTO> GetDashboardNotificationList(string i_sConnectionString, int inp_iLoggedInUserId)
 {
     try
     {
         using (var objNotificationDAL = new NotificationDAL_OS())
         {
             return(objNotificationDAL.GetDashboardNotificationList_OS(i_sConnectionString, inp_iLoggedInUserId));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Example #2
0
 /// <summary>
 /// This method is used for the get details for Template Master details.
 /// </summary>
 /// <param name="i_sConnectionString">DB COnnection string</param>
 /// <param name="i_nTradingPolicyId">Template Master ID</param>
 /// <returns></returns>
 public NotificationDTO GetDetails_OS(string i_sConnectionString, int i_nNotificationQueueId)
 {
     try
     {
         using (var objNotificationDAL = new NotificationDAL_OS())
         {
             return(objNotificationDAL.GetDetails(i_sConnectionString, i_nNotificationQueueId));
         }
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }