public CustomerCodeViewModel(IGatewayService gatewayService, IReachability reachability, IDataService dataService, IRepositories repositories, ICustomUserInteraction userInteraction, INavigationService navigationService, ICloseApplication closeApplication) { _gatewayService = gatewayService; _dataService = dataService; _reachability = reachability; _userInteraction = userInteraction; _navigationService = navigationService; _applicationProfileRepository = repositories.ApplicationRepository; _customerRepository = repositories.CustomerRepository; _deviceRepository = repositories.DeviceRepository; _driverRepository = repositories.DriverRepository; _safetyProfileRepository = repositories.SafetyProfileRepository; _trailerRepository = repositories.TrailerRepository; _vehicleRepository = repositories.VehicleRepository; _verbProfileRepository = repositories.VerbProfileRepository; _configRepository = repositories.ConfigRepository; _closeApplication = closeApplication; }
public VehicleListViewModel( IGatewayService gatewayService, IVehicleRepository vehicleRepository, IReachability reachabibilty, IToast toast, IInfoService infoService, INavigationService navigationService, ICurrentDriverRepository currentDriverRepository, ILoggingService loggingService, ISafetyProfileRepository safetyProfileRepository) { _toast = toast; _reachability = reachabibilty; _gatewayService = gatewayService; _infoService = infoService; _navigationService = navigationService; _loggingService = loggingService; _currentDriverRepository = currentDriverRepository; _vehicleRepository = vehicleRepository; _safetyProfileRepository = safetyProfileRepository; }