/// <summary>
 /// 修改地区三字码
 /// </summary>
 /// <param name="regionCode">地区三字码</param>
 public void ModifyRegionCode(RegionCode regionCode)
 {
     if (regionCode == null)
         throw new ArgumentNullException("Region is null");
     IUnitOfWork unitOfWork = _regionCodeRepository.UnitOfWork;
     _regionCodeRepository.Modify(regionCode);
     //complete changes in this unit of work
     unitOfWork.CommitAndRefreshChanges();
 }
 /// <summary>
 /// 删除地区三字码
 /// </summary>
 /// <param name="regionCode">地区三字码</param>
 public void RemoveRegionCode(RegionCode regionCode)
 {
     if (regionCode == null)
         throw new ArgumentNullException("Region is null");
     IUnitOfWork unitOfWork = _regionCodeRepository.UnitOfWork;
     _regionCodeRepository.Remove(regionCode);
     //complete changes in this unit of work
     unitOfWork.Commit();
 }