示例#1
0
        public int Insert(CountryModel country)
        {
            this.CountryRepository.Insert(country.GetModel());
            var result = this.UnitOfWork.SaveChanges();

            return(result);
        }
示例#2
0
 public void Update(CountryModel country)
 {
     this.CountryRepository.Update(country.GetModel());
     var result = this.UnitOfWork.SaveChanges();
 }