/// <summary> /// Permanentely deletes a single reminder from the database /// </summary> /// <param name="rem">The reminder you wish to remove</param> public static void PermanentelyDeleteReminder(Reminder rem) { if (rem != null && GetReminderById(rem.Id) != null) //Check if the reminder exists and isnt null { DLReminders.PermanentelyDeleteReminder(rem); } }
/// <summary> /// Permanentely deletes a single reminder from the database /// </summary> /// <param name="rem">The reminder you wish to remove</param> public static void PermanentelyDeleteReminder(int reminderId) { if (GetReminderById(reminderId) != null) { DLReminders.PermanentelyDeleteReminder(reminderId); } }