public IEnumerable<CountryBase> CountryGetAll() { return Mapper.Map<IEnumerable<CountryBase>>(ds.Countries.OrderBy(c => c.Name)); }
// Attention 08 - Controller get all countries // GET: Countries public ActionResult Index() { return(View(m.CountryGetAll())); }