Esempio n. 1
0
        public CountryEditViewModel Update(CountryEditViewModel country)
        {
            Country _country = CountryRepo.Update(country.toModel());

            unitOfWork.commit();
            return(_country.toEditViewModel());
        }
Esempio n. 2
0
 public void Remove(CountryEditViewModel Country)
 {
     CountryRepo.Remove(Country.toModel());
     unitOfWork.commit();
 }