public DoctorRepository(IDoctorContext context) { this.context = context ?? throw new NullReferenceException("De dokterContext is leeg."); }
public DoctorViewModel(IDoctorContext context) { Doctors = new ObservableCollection <Doctor>(); _context = context; }