public OverviewViewScreenViewModel(INorthWindRepository repository) { _repository = repository; _employees = _repository.GetEmployees(); _customers = _repository.GetCustomers(); _orders = _repository.GetOrders(); }
public MainViewModel(INorthWindRepository repository) { LoginCommand = new RelayCommand(LoginAsync); _repository = repository; }
public ProductController(INorthWindRepository context) { _context = context; }