public static void RemoveScheduledNotificaion(int id) { List <int> scheduledNotificaions = NotificationIdHandler.GetScheduledNotificaions(); scheduledNotificaions.RemoveAll((int i) => i == id); NotificationIdHandler.SetScheduledNotificaions(scheduledNotificaions); }
public static void AddScheduledNotificaion(int notificationId) { List <int> scheduledNotificaions = NotificationIdHandler.GetScheduledNotificaions(); scheduledNotificaions.Add(notificationId); NotificationIdHandler.SetScheduledNotificaions(scheduledNotificaions); }
public static void RemoveAllScheduledNotificaions() { NotificationIdHandler.SetScheduledNotificaions(new List <int>()); }