public void showSelectedMenu()
        {
            Console.WriteLine("ShowSelectedMenu i BoatController");
            BoatView.MenuChoice menuChoice = this.boatView.GetMenuChoice();

            if (menuChoice == BoatView.MenuChoice.AddBoat)
            {
                Console.WriteLine("Add boat");
                this.boatView.addBoat();
                BoatModel boat = new BoatModel(boatView.getBoatType(), boatView.getBoatLength());
                this.memberDAL.saveBoat(this.selectedMember, boat);
                MemberView editedMemberView = new MemberView(this.selectedMember);
                editedMemberView.showMember();
            }
            if (menuChoice == BoatView.MenuChoice.EditBoat)
            {
                this.boatView.listMemberBoats();
            }
            if (menuChoice == BoatView.MenuChoice.DeleteBoat)
            {
                this.boatView.listMemberBoats();
            }
            if (menuChoice == BoatView.MenuChoice.StartMenu)
            {
                StartMenuController startController = new StartMenuController();
            }
        }
 public AddMemberController(AddMemberView addMemberView, MemberDALModel memberDAL)
 {
     this.addMemberView = addMemberView;
     MemberModel member = new MemberModel(addMemberView.getName(), addMemberView.getSocialSecurityNumber());
     memberDAL.saveMember(member);
     StartMenuController startMenu = new StartMenuController();
 }
 public void editMember()
 {
     if (this.menuChoice == 'R')
     {
         this.memberView.editMember();
     }
     if (this.menuChoice == 'T')
     {
         this.memberDAL.deleteMember(this.selectedMember);
     }
     if (this.menuChoice == 'H')
     {
         BoatController boatController = new BoatController(this.selectedMember, this.memberView);
     }
     if (this.menuChoice == 'S')
     {
         StartMenuController startController = new StartMenuController();
     }
 }
 //Frågor:
 //1. Spara båtar och medlemmar i samma fil? Ja. XML, samma fil.
 //2. Ska vi spara båtar och medlemmar via controllern eller modellen?
 //   klass som representerar ett medlemsregister med load, save och delete members
 //Ladda in databasen, gör ändringar i programmet när vi kör. Spara ner innan avslut.
 //Skillnad mot webben.
 static void Main(string[] args)
 {
     StartMenuController startController = new StartMenuController();
 }