public void ViewDrivers() { var driverController = new DriverController(); var newForm = _formsFactory.CreateShowDriversView(_driverRepository); driverController.ViewDrivers(this, newForm); }
public void AddDriver() { var driverController = new DriverController(); var newForm = _formsFactory.CreateAddDriverView(); driverController.AddDriver(newForm); }
public void EditDriver(int driverGoKart) { var driverController = new DriverController(); var newForm = _formsFactory.CreateEditDriverView(); driverController.EditDriver(newForm, driverGoKart); }
public void ViewStandings() { var driverController = new DriverController(); var newForm = _formsFactory.CreateShowStandingsView(_raceRepository, _driverRepository); driverController.ViewStandings(newForm); }