private async Task LoadNorthData() { Insects.Clear(); BookCount = 0; MuseumCount = 0; var normalAnimals = await CommonDataService.GetAllInsects(CommonDataService.Hemisphere.North); //BookCount = bookCount; //MuseumCount = museumCount; foreach (var item in normalAnimals) { Insects.Add(item); } }
private void LoadNorthData() { Insects.Clear(); BookCount = 0; MuseumCount = 0; var normalAnimals = CommonDataService.GetAllInsects(out int bookCount, out int museumCount, CommonDataService.Hemisphere.North); BookCount = bookCount; MuseumCount = museumCount; foreach (var item in normalAnimals) { Insects.Add(item); } }