public MainController(Members members, MainView mv, BoatView bv, MemberView memberView)
 {
     _members    = members;
     _mv         = mv;
     _bv         = bv;
     _memberView = memberView;
 }
Exemple #2
0
        static void Main()
        {
            Storage _storage = new Storage();

            Members    _members    = new Members(_storage);
            MainView   _mv         = new MainView();
            BoatView   _bv         = new BoatView();
            MemberView _memberView = new MemberView();

            MainController mc = new MainController(_members, _mv, _bv, _memberView);

            mc.run();
        }