public void Remove(Schedule schedule) { _employeesScheduleRepository.Delete(schedule.id); }
private void removeDoctorFromRepositories(int id, DoctorUser doctor) { _employeesScheduleRepository.Delete(id); removeScheduledOperationsForDoctor(doctor); removeScheduledAppointmentForDoctor(doctor); }