//Shows one boat to edit or delete public void showEditBoatMenu(string boatId, string memberId) { MemberDAL memberDAL = new MemberDAL(); boat = memberDAL.getBoatById(boatId, memberId); Console.Clear(); this.helper.printDivider(); Console.WriteLine("MEDLEM " + memberId + ":S BÅT " + boatId); this.helper.printDivider(); Console.WriteLine("\nAnge T för att ta bort båt."); Console.WriteLine("Ange R för att redigera båt.\n"); if (boat != null) { Console.WriteLine("{0}: {1}", helper.BoatId, boat.BoatId); Console.WriteLine("{0}: {1}", helper.BoatType, boat.BoatType); Console.WriteLine("{0}: {1}", helper.BoatLength, boat.BoatLength); } else { Console.Clear(); Console.WriteLine("Båten finns inte."); helper.getBackToStartMessage(); } }