Exemplo n.º 1
0
 /// <summary>
 /// Deletes a single reminder from the database
 /// </summary>
 /// <param name="rem">The reminder you wish to remove</param>
 public static void DeleteReminder(Reminder rem)
 {
     if (rem != null)
     {
         DLReminders.DeleteReminder(rem);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deletes a single reminder from the database
 /// </summary>
 /// <param name="reminderId">The id of the reminder you wish to remove</param>
 public static void DeleteReminder(int reminderId)
 {
     if (reminderId != -1)
     {
         DLReminders.DeleteReminder(reminderId);
     }
 }