Esempio n. 1
0
 async void LoadList()
 {
     _users            = (await UserDataStore.GetItemsAsync(true)).Where(c => !c.Name.Equals("Storage")).ToList();
     _ingredientCounts = (await IngredientCountDataStore.GetItemsAsync(true))
                         .OrderBy(c => DateTime.Parse(c.Date)).ToList();
     _ingredients  = (await IngredientDataStore.GetItemsAsync(true)).ToList();
     _records      = (await RecordDataStore.GetItemsAsync(true)).ToList();
     _avtomats     = (await AvtomatDataStore.GetItemsAsync(true)).ToList();
     _userAvtomats = (await UserAvtomatDataStore.GetItemsAsync(true)).ToList();
 }
Esempio n. 2
0
 async void LoadAvtomats()
 {
     _avtomats = (await AvtomatDataStore.GetItemsAsync(true)).ToList();
 }