public bool Add(Country country) { if (validation.Validate(country).Count > 0) { foreach (var res in validation.Validate(country)) { if (res.IsValidate) { logger.Error(res.ValidationMessage.ToString()); } } } return(countries.Add(country)); }
public void Add(CountryDto artist) { _countryDao.Add(DtoConvert.Convert(artist)); }