public DriversController( IDriversService driversService, IDriversRatingsService driversRatingsService, ICloudinaryService cloudinaryService) { this.driversService = driversService; this.driversRatingsService = driversRatingsService; this.cloudinaryService = cloudinaryService; }
public DriversViewModel() { driversService = NinjectConfig.Kernel.Get <IDriversService>(); Drivers = new ObservableCollection <Driver>(driversService.GetDrivers()); SearchDriverCommand = new RelayCommand(SearchDrivers); InsertDriverCommand = new RelayCommand(InsertDriver); UpdateDriverCommand = new RelayCommand(UpdateDriver); DeleteDriverCommand = new RelayCommand(DeleteDriver); OpenEditorCommand = new RelayCommand(OpenEditor); SearchEgn = SearchFullName = string.Empty; }
public TransfersController( ITransfersService transfersService, IDriversService driversService, ITransfersTypesService transfersTypesService, UserManager <ApplicationUser> userManager, IUsersService usersService) { this.transfersService = transfersService; this.driversService = driversService; this.transfersTypesService = transfersTypesService; this.userManager = userManager; this.usersService = usersService; }
public DashboardController( IParkingsService parkingsService, ICountriesService countriesService, ITownsService townsService, IDriversService driversService, ICarsService carsService, IUsersService usersService) { this.parkingsService = parkingsService; this.countriesService = countriesService; this.townsService = townsService; this.driversService = driversService; this.carsService = carsService; this.usersService = usersService; }
public DocumentsViewModel() { documentsService = NinjectConfig.Kernel.Get <IDocumentsService>(); driversService = NinjectConfig.Kernel.Get <IDriversService>(); nomenclatureService = NinjectConfig.Kernel.Get <INomenclatureService>(); InsertDocumentCommand = new RelayCommand(InsertDocument); GetDocumentsCommand = new RelayCommand(GetDocuments); UpdateDocumentCommand = new RelayCommand(UpdateDocument); DeleteDocumentCommand = new RelayCommand(DeleteDocument); OpenEditorCommand = new RelayCommand(OpenEditor); AddViolationToDocumentCommand = new RelayCommand(AddViolationToDocument); RemoveViolationFromDocumentCommand = new RelayCommand(RemoveViolationFromDocument); Documents = new ObservableCollection <Document>(documentsService.GetDocuments(new Document())); DocTypes = nomenclatureService.GetDocTypes(); SearchDocument = new Document(); UpsertedDocument = new Document(); RegNumSearch = FullNameSearch = string.Empty; }
public DriversViewModel(IDriversService driversService) { _DriversService = driversService; Load(); }
public DriversRepository(IDriversService driversService) { _driversService = driversService; }
public DriversController(IDriversService driversService, ILogger <DriversController> logger) { _driversService = driversService; _logger = logger; }
public DriversController(IDriversService driversService, IWebHostEnvironment webHostEnvironment, UserManager <ApplicationUser> userManager) { this.driversService = driversService; this.webHostEnvironment = webHostEnvironment; this.userManager = userManager; }
public DriversController(IDriversService driversService) { this.driversService = driversService; }
public void Init() { driversService = new MockDriversService(); }
public DriversController(IDriversService driversService) { _driversSerice = driversService; }
public DriverViewModel(IDriversService driversService) { this._DriversService = driversService; Load(); }