//Constructor that intizalizing all the view models with the given model. public MainViewModel(IFlightGearModel flightGearModel) { this.dashVM = new DashBoardViewModel(flightGearModel); this.mapVM = new MapViewModel(flightGearModel); this.controllerVM = new ControllersViewModel(flightGearModel); }