public virtual OperationResult UpdateEntity(ErrorCode ec,bool isSave=true) { return ecRepository.Update(ec,isSave); }
public virtual OperationResult AddEntity(ErrorCode ec,bool isSave=true) { return ecRepository.Insert(ec,isSave); }