private void DeleteButton_Click(object sender, RoutedEventArgs e) { sourceAppointmentController.DeleteSourceAppointment(); this.Close(); }
public void DeleteSourceAppointment_NoInput_IsInGarbagePropertySettedToTrue() { appointmentController.DeleteSourceAppointment(); mockAppointment.VerifySet(appointment => appointment.IsInGarbage = true); }