Пример #1
0
        public async Task <ActionResult> List(string name)
        {
            IEnumerable <CountryVM> countries = (await _countryManager.Countries(name)).Select(c => new CountryVM
            {
                Id   = c.Id,
                Name = c.Name
            });

            return(View(countries));
        }