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