// GET: Notification
        public ActionResult Index()
        {
            SystemNotificationFacade        NFacade         = new SystemNotificationFacade(Helper.GetMasterConnctionstring());
            List <SystemNotificationEntity> lstNotification = NFacade.GetActiveNotification(true);
            SystemNotificationFacade        NFacade1        = new SystemNotificationFacade(this.CurrentClient.ApplicationDBConnectionString);
            DataTable dtNotificatin = NFacade1.GetDismissNotificationByUser(Helper.oUser.UserId);

            if (lstNotification != null && lstNotification.Count > 0 && dtNotificatin != null && dtNotificatin.Rows.Count != 0)
            {
                foreach (var itemNotification in lstNotification)
                {
                    foreach (DataRow row in dtNotificatin.Rows)
                    {
                        if (itemNotification.MessageId == Convert.ToInt32(row["NotificationId"]))
                        {
                            itemNotification.isRead = true;
                            if (Convert.ToBoolean(row["IsDismiss"]))
                            {
                                itemNotification.isDismiss = true;
                            }
                        }
                    }
                }
            }
            return(View(lstNotification));
        }