private static Country ConvertToProperCountry(Models.Countries.Country countryEnum) { string temp = countryEnum.ToString(); Country tempCountry = Country.AD; foreach (Country item in (Country[])Enum.GetValues(typeof(Country))) { if (item.ToString() == temp) { tempCountry = item; break; } } return(tempCountry); }
public CountryCreated(Models.Countries.Country country) { Country = country; }