public EditBoatController(string memberId) { this.editBoatView = new EditBoatView(); this.memberId = memberId; //If a member has boats, show member´s boats editBoatView.showMemberBoatsMenu(memberId); showSelectedBoat(); executeMenuChoice(); }
public EditBoatController(Member member) { Console.WriteLine("EditBoatController konstruktor" + member.MemberName); this.member = member; this.editBoatView = new EditBoatView(this.member); //If a member has boats, show member´s boats editBoatView.showMemberBoatsMenu(); showSelectedBoat(); executeMenuChoice(); }