private async Task LoadDatabaseItems() { if (ItemsCount > 0) { return; } NutritionItemDatabase = await NutritionDataService.GetItemsAsync(DateTime.MinValue) as IList <NutritionItem>; ItemsCount = NutritionItemDatabase.Count; }
private async Task LoadNutritionItems(IList <int> ids) { NutritionItems = await NutritionDataService.GetItemsAsync(DateTime.MinValue, ids); }