Esempio n. 1
0
        static void Main(string[] args)
        {
            MasterController mc = new MasterController();
            MenuView mv = new MenuView(mc);

            mv.menu();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            // Creating new instances of view, controller and model
            //var memberDAL = new MemberDAL();
            var AppView = new AppView();
            var BoatView = new BoatView();
            var MemberView = new MemberView();
            var MenuView = new MenuView();
            var appController = new AppController(AppView, BoatView, MemberView, MenuView);

            // Launching controller method.
            appController.doControll();
        }