Example #1
0
 public MainViewModel(WarehouseViewModel warehouseViewModel, DistanceViewModel distanceViewModel)
 {
     WarehouseViewModel = warehouseViewModel;
     DistanceViewModel  = distanceViewModel;
 }
Example #2
0
 public MainViewModel()
 {
     DistanceViewModel  = new DistanceViewModel();
     WarehouseViewModel = new WarehouseViewModel();
 }