Esempio n. 1
0
        static void Main(string[] args)
        {
            var appView = new AppView();
            var memberView = new MemberView();
            var boatView = new BoatView();
            var memberController = new MemberController(memberView);
            var boatController = new BoatController(boatView);
            var appController = new AppController(appView, boatController, memberController);

            appController.Start();
        }
Esempio n. 2
0
 public AppController(AppView appView, BoatController boatController, MemberController memberController)
 {
     _view = appView;
     _boatController = boatController;
     _memberController = memberController;
 }