Beispiel #1
0
 public void UpdateRegion(RegionInfo region, string regionName)
 {
     Region fisObject = new Region();
     fisObject.region = region.Region;
     fisObject.Description = region.Description;
     fisObject.Editor = region.Editor;
     fisObject.Cdt = region.Cdt;
     fisObject.Udt = region.Udt;
     partRepository.UpdateRegion(fisObject, regionName);
 }
Beispiel #2
0
 public void AddRegion(RegionInfo region)
 {
     Region fisObject = new Region();
     fisObject.region = region.Region;
     fisObject.Description = region.Description;
     fisObject.Editor = region.Editor;
     fisObject.Cdt = region.Cdt;
     fisObject.Udt = region.Udt;
     partRepository.AddRegion(fisObject);
 }