public SearchCarViewModel() { _testDriveInfoService = new TestDriveInfoService(); SearchCarCommand = new Command(SearchCar); MainMenuCommand = new Command(MainMenu); }
public SignatureViewModel() { _testDriveInfoService = new TestDriveInfoService(); SaveTestDriveCommand = new Command(SaveTestDriveAsync); MainMenuCommand = new Command(NavigateToMainMenu); }
public EditCarInfoViewModel() { _testNumberPlateService = new TestDriveInfoService(); MainMenuCommand = new Command(NavigateToMainMenu); UpdateCarCommand = new Command(UpdateCar); LoadCarImageCommand = new Command(LoadCarImage); }
public CarSelectionViewModel() { _testDriveInfoService = new TestDriveInfoService(); MainMenuCommand = new Command(NavigateToMainMenu); RemoveCarCommand = new Command(RemoveCarFromList); AddNewCarCommand = new Command(AddNewCar); LoadListOfCars(); }
public ScanDrivingLicenseViewModel() { _testDriveInfoService = new TestDriveInfoService(); IsLoading = false; TestDriveInfo = new TestDriveInfo { StartDate = DateTime.Now, EndDate = DateTime.Now }; TakePictureCommand = new Command(TakePicture); ContinueCommand = new Command(Continue); MainMenuCommand = new Command(NavigateToMainMenu); }
public ListOfCarsViewModel() { _testDriveInfoService = new TestDriveInfoService(); MainMenuCommand = new Command(NavigateToMainMenu); }