Exemple #1
0
        // Token: 0x06000671 RID: 1649 RVA: 0x00026898 File Offset: 0x00024A98
        public static void Show()
        {
            LicensePreSaturationNotificationItemDAL item = LicensePreSaturationNotificationItemDAL.GetItem();

            if (item == null)
            {
                NotificationItemDAL.Insert <LicensePreSaturationNotificationItemDAL>(LicensePreSaturationNotificationItemDAL.LicensePreSaturationNotificationItemId, LicensePreSaturationNotificationItemDAL.NotificationMessage, string.Empty, false, "javascript:SW.Core.SalesTrigger.ShowLicensePopupAsync();", null, null);
                return;
            }
            item.SetNotAcknowledged();
            item.Update();
        }
        public static void Show()
        {
            LicensePreSaturationNotificationItemDAL notificationItemDal = LicensePreSaturationNotificationItemDAL.GetItem();

            if (notificationItemDal == null)
            {
                NotificationItemDAL.Insert <LicensePreSaturationNotificationItemDAL>(LicensePreSaturationNotificationItemDAL.LicensePreSaturationNotificationItemId, LicensePreSaturationNotificationItemDAL.NotificationMessage, string.Empty, false, "javascript:SW.Core.SalesTrigger.ShowLicensePopupAsync();", new DateTime?(), (string)null);
            }
            else
            {
                notificationItemDal.SetNotAcknowledged();
                notificationItemDal.Update();
            }
        }