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