private void LoadFullCapexInfo(object sender, DoWorkEventArgs e) { IsCapexBusy = true; FullCapexList = _capexService.GetCapexes(); AccountsList = _accountsMainService.GetAllAccountsWithStoresAndCapex(); _storesList = _storesService.GetStores(); }
private void EditAccountStoresList() { IsEditAccountStoresOpen = true; StoresForLoad = string.Empty; StoresList = new ObservableCollection <StoresSet>(_storesService.GetStores()); Task.Run(() => AccountStoresList = new ObservableCollection <StoresSet>(_accountStoresService.GetAccountStoresById(Account.Id))); }
private void LoadStoresWork(object sender, DoWorkEventArgs e) { IsStoreWorkBusy = true; if (StoresList == null) { StoresList = new ObservableCollection <StoresSet>(_storeService.GetStores()); } StoresWorkList = new ObservableCollection <StoreProvenWorkSet>(_storesWorkService.GetWorksList()); }
private void LoadReportData(object sender, DoWorkEventArgs e) { ServiceZipList = new ObservableCollection <ServiceZipDetailsSet>(_serviceZipService.GetAllWithZips()); foreach (var store in _storeService.GetStores()) { if (store.StoreNumber > 10000) { StoresWithCheckList.Add(new StoresWithCheck { Store = store }); } } }
private void LoadReportData(object sender, DoWorkEventArgs e) { FAList = new ObservableCollection <FASet>(_faService.GetFAListFull()); FullFAList = _accountFAService.GetFAFullList(); StoreList = _storeService.GetStores(); }
private void LoadServiceZip(object sender, DoWorkEventArgs e) { ServiceZipList = new ObservableCollection <ServiceZipDetailsSet>(_serviceZipService.GetAll()); StoresList = _storeService.GetStores().Where(s => s.StoreNumber > 10000).ToList(); ServiceAccountsList = _accountsMainService.GetServiceAccounts(); }
private void LoadStoresAndAccounts(object sender, DoWorkEventArgs e) { IsStoreAccountsBusy = true; StoreList = new ObservableCollection <StoresSet>(_storeService.GetStores()); AccountsList = new ObservableCollection <AccountsMainSet>(_accountsMainService.GetAllAccountsForStore()); }