/// <summary>
 /// Konstruktor modelu widoku
 /// </summary>
 /// <param name="employeesService"></param>
 /// <param name="windowManager"></param>
 /// <param name="vehiclesService"></param>
 /// <param name="selectVehicleViewModel"></param>
 public VehicleManageViewModel(EmployeesServiceProxy employeesService, IWindowManager windowManager,
     SelectVehicleForEmployeeViewModel selectVehicleViewModel)
     : base(employeesService)
 {
     this.employeesService = employeesService;
     this.windowManager = windowManager;
     this.selectVehicleViewModel = selectVehicleViewModel;
 }
 /// <summary>
 /// Konstruktor modelu widoku
 /// </summary>
 /// <param name="employeesService"></param>
 /// <param name="windowManager"></param>
 /// <param name="usedVehiclesDetailsViewModel"></param>
 public EmployeesUsedVehiclesViewModel(EmployeesServiceProxy employeesService, IWindowManager windowManager,
     EmployeeUsedVehiclesDetailsViewModel usedVehiclesDetailsViewModel)
     : base(employeesService)
 {
     this.employeesService = employeesService;
     this.windowManager = windowManager;
     this.usedVehiclesDetailsViewModel = usedVehiclesDetailsViewModel;
 }
예제 #3
0
 /// <summary>
 /// Konstruktor modelu widoku
 /// </summary>
 /// <param name="employeesService"></param>
 /// <param name="windowManager"></param>
 /// <param name="employeeEditViewModel"></param>
 /// <param name="confirmDeleteViewModel"></param>
 public EmployeesViewModel(IWindowManager windowManager, EmployeeEditViewModel employeeEditViewModel,
     ConfirmDeleteViewModel confirmDeleteViewModel, EmployeesServiceProxy service)
     : base(service)
 {
     this.windowManager = windowManager;
     this.employeeEditViewModel = employeeEditViewModel;
     this.confirmDeleteViewModel = confirmDeleteViewModel;
     this.service = service;
 }
 public EmployeeAddViewModel(EmployeesServiceProxy proxy)
 {
     this.proxy = proxy;
 }
 public EmployeesManagedPackagesViewModel(EmployeesServiceProxy service)
     : base(service)
 {
     this.service = service;
 }
 public CourierProfileViewModel(EmployeesServiceProxy service)
 {
     this.service = service;
     GetLoggedEmployeeData();
 }
 protected EmployeesViewModelBase(EmployeesServiceProxy service)
 {
     this.service = service;
 }
 /// <summary>
 /// Konstruktor modelu widoku
 /// </summary>
 /// <param name="employeeService"></param>
 /// <param name="vehiclesService"></param>
 public SelectVehicleForEmployeeViewModel(EmployeesServiceProxy employeeService,
     VehiclesServiceProxy vehiclesService)
 {
     this.employeeService = employeeService;
     this.vehiclesService = vehiclesService;
 }