public void CreateNewCountry(Country country) { POCOValidator.CountryValidator(country, false); if (_countryDAO.GetCountryByName(country.CountryName) != null) { throw new CountryAlreadyExistsException($"failed to create country! Country name '{country.CountryName}' already exists!"); } _countryDAO.Add(country); }