示例#1
0
 public void ModifyDepartment(DepartmentDE mod)
 {
     _deptRepo.Update(mod);
     _deptRepo.CommitAllChanges();
 }
示例#2
0
 public decimal AddDepartment(DepartmentDE mod)
 {
     _deptRepo.Insert(mod);
     _deptRepo.CommitAllChanges();
     return mod.ID;
 }