public EmployeesViewModel(AutoShowDbContext context) { DisplayName = "Employees"; _context = context; Employees = new CollectionViewSource(); }
public OrdersViewModel(IWindowManager windowManager,AutoShowDbContext context) { DisplayName = "Orders"; _context = context; _windowManager = windowManager; Orders = new CollectionViewSource(); }
public AddOrderViewModel(AutoShowDbContext context, IAuthenticationService authService) { DisplayName = "Нове замовлення"; _context = context; _authService = authService; Cars = new ObservableCollection<Car>(); Customers = new CollectionViewSource(); }
public CarsViewModel(AutoShowDbContext context) { DisplayName = "Автомобілі"; Context = context; }
public AuthenticationService(AutoShowDbContext context) { _context = context; }