示例#1
0
 public bool UpdateDepartment(OM_Department dep)
 {
     if (DbRepository.Update(dep) > 0)
     {
         return true;
     }
     return false;
 }
示例#2
0
 public bool SaveDepartment(OM_Department dep)
 {
     if (DbRepository.Add(dep) > 0)
     {
         return true;
     }
     return false;
 }