Пример #1
0
        public void deleteBoat(MemberModel member)
        {
            if (member == null)
            {
                return;
            }
            int index = _boatView.getIndexOfBoats(member.Boat);

            if (index == RETURN_TO_MENU)
            {
                return;
            }
            BoatModel boat = member.Boat[index];

            member.deleteBoat(boat);
            _storage.updateMember(member);
        }