public void AddNotification(object sender, NotificationEventArgs e)
 {
     if (BuyNotification != null)
     {
         BuyNotification(sender, e);
     }
 }
 void HotItemController_BuyNotification(object sender, NotificationEventArgs e)
 {
     if (e.NotificationType == NotificationType.BuyGems || e.NotificationType == NotificationType.BuyGold)
     {
         AddNotification(BuyNotifications,
                         new NotificationModel(HotItemController.Self.Gem, e.GemRuleViewModel, e.Rule, e.Rule.SelectedRuleType.ToString(), DateTime.Now,
                                               e.NotificationType));
     }
     else
     {
         AddNotification(BuyNotifications,
                         new NotificationModel(e.Item, e.Rule, e.Rule.SelectedRuleType.ToString(), DateTime.Now,
                                               e.NotificationType));
     }
 }