Example #1
0
        private async Task FetchFromRemote()
        {
            var heroes = await _heroDataClient.GetAll();

            await Set(heroes.OrderBy(x => x.Name)
                      .ThenBy(x => x.Role)
                      .ToList()
                      );
        }
Example #2
0
        private async Task FetchFromRemote()
        {
            var heroes = await _heroDataClient.GetAll();

            await Set(heroes);
        }