public CountryEditViewModel Update(CountryEditViewModel country) { Country _country = CountryRepo.Update(country.toModel()); unitOfWork.commit(); return(_country.toEditViewModel()); }
public void Remove(CountryEditViewModel Country) { CountryRepo.Remove(Country.toModel()); unitOfWork.commit(); }