private List <Country> Deserialize_Countries(string jsonCountries) { var mapper = Create_Mapper(); var country = new Data.Country(); var result = country.Deserialize_Countries(jsonCountries); //Should we add the mapper on the data class? var entity = mapper.Map <List <Country> >(result); return(entity); }
private List <Domain.Country> Deserialize_Countries(string jsonCountries) { var country = new Data.Country(); return(country.Deserialize_Countries(jsonCountries)); }