public WardView()
 {
     InitializeComponent();
     _wardService         = new WardService(new MVCHContext());
     _wardListViewModel   = new WardListViewModel(_wardService);
     _physicianService    = new PhysicianService(new MVCHContext());
     _facilityService     = new FacilityService(new MVCHContext());
     _employeeService     = new EmployeeService(new MVCHContext());
     _wardEmployeeService = new WardEmployeeService(new MVCHContext());
     DataContext          = _wardListViewModel;
 }
 public AddWardView(WardListViewModel wardListViewModel,
                    WardService wardService,
                    FacilityService facilityService,
                    EmployeeService employeeService,
                    WardEmployeeService wardEmployeeService)
 {
     _toAddWard = new AddWardViewModel(wardListViewModel,
                                       wardService,
                                       facilityService,
                                       employeeService,
                                       wardEmployeeService);
     DataContext = _toAddWard;
     InitializeComponent();
 }