Пример #1
0
        public override bool Equals(object obj)
        {
            Country other = (Country)obj;

            return(this == other);
        }
 public void UpdateCountry(Country country)
 {
     _countryDAO.Update(country);
 }
        public Country GetCountry(long id)
        {
            Country country = _countryDAO.Get(id);

            return(country);
        }
 public void RemoveCountry(Country country)
 {
     _countryDAO.Remove(country);
 }
        ///////////////////////////COUNTRIES//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public void AddCountry(Country country)
        {
            _countryDAO.Add(country);
        }