public void ModifyDepartment(DepartmentDE mod) { _deptRepo.Update(mod); _deptRepo.CommitAllChanges(); }
public decimal AddDepartment(DepartmentDE mod) { _deptRepo.Insert(mod); _deptRepo.CommitAllChanges(); return mod.ID; }