Beispiel #1
0
        public void DeleteBoat(int id)
        {
            Boat boat = Boats.Find(x => x.Id == id);

            Boats.Remove(boat);
        }
Beispiel #2
0
 public Boat GetBoat(int id)
 {
     return(Boats.Find(x => x.Id == id));
 }