Example #1
0
        public ICollection <Country> GetAllCountry()
        {
            List <Country> CountryList = new List <Country>();

            _countryController.GetList().Result.ForEach(a => CountryList.Add(new Country()
            {
                ID   = a.ID,
                Name = a.Name
            }));

            return(CountryList);
        }