/// <summary> /// Remove an existing Backend.Repository.AppointmentRepository from the collection /// </summary> /// <pdGenerated>Default Remove</pdGenerated> public void RemoveAppointmentRepository(Backend.Repository.AppointmentRepository oldAppointmentRepository) { if (oldAppointmentRepository == null) { return; } if (this.appointmentRepository != null) { if (this.appointmentRepository.Contains(oldAppointmentRepository)) { this.appointmentRepository.Remove(oldAppointmentRepository); } } }
/// <summary> /// Add a new Backend.Repository.AppointmentRepository in the collection /// </summary> /// <pdGenerated>Default Add</pdGenerated> public void AddAppointmentRepository(Backend.Repository.AppointmentRepository newAppointmentRepository) { if (newAppointmentRepository == null) { return; } if (this.appointmentRepository == null) { this.appointmentRepository = new System.Collections.Generic.List <AppointmentRepository>(); } if (!this.appointmentRepository.Contains(newAppointmentRepository)) { this.appointmentRepository.Add(newAppointmentRepository); } }