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