Esempio n. 1
0
 static void Main(string[] args)
 {
     StudentRepository<Student> repo = new StudentRepository<Student>();
     Validator val = new Validator(repo);
     StudentController ctrl = new StudentController(repo, val);
     UI.Console cons = new UI.Console(ctrl);
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            StudentRepository <Student> repo = new StudentRepository <Student>();
            Validator         val            = new Validator(repo);
            StudentController ctrl           = new StudentController(repo, val);

            UI.Console cons = new UI.Console(ctrl);
        }