Esempio n. 1
0
 /// <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);
     }
 }
Esempio n. 2
0
 /// <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);
     }
 }