/// <summary> /// Adds or update appointment entity to db. /// </summary> /// <param name="appointment"></param> private void AddOrUpdateAppointment(Appointment appointment) { _appointmentRepository.AddOrUpdateAppointment(appointment); }