Example #1
0
        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);
        }
Example #2
0
 public List <Position> UpdatePosition(Position position)
 {
     positionList.UpdatePosition(position);
     return(positions);
 }