Exemple #1
0
        static void Main(string[] args)
        {
            View          v          = new View();
            MemberDAL     mD         = new MemberDAL();
            RegisterModel rm         = new RegisterModel(mD);
            Controller    controller = new Controller(mD, v, rm);

            while (controller.InitStartMenu())
            {
                Console.ReadKey(false);
            }
            ;
        }
Exemple #2
0
 public RegisterModel(MemberDAL memberDAL)
 {
     this.memberDAL = memberDAL;
 }
Exemple #3
0
 public Controller(MemberDAL memberDAL, View view, RegisterModel registerModel)
 {
     this.memberDAL     = memberDAL;
     this.view          = view;
     this.registerModel = registerModel;
 }