public void UpdatePosition(DTOPosition position) { string error; if (!Position.DoesPositionExist(position, Positions, out error)) { ThrowError(error); return; } if (Position.DoesPositionNameExist(position, Positions, out error)) { ThrowError(error); return; } positionListFeedBack.UpdatePosition(position); }
public List <Position> UpdatePosition(Position position) { positionList.UpdatePosition(position); return(positions); }