예제 #1
0
파일: Program.cs 프로젝트: csergiu/Labs
 static void Main(string[] args)
 {
     Repository<Student> repo = new Repository<Student>();
     Validator val = new Validator(repo);
     StudentController ctrl = new StudentController(repo, val);
     UI.Console cons = new UI.Console(ctrl);
 }
예제 #2
0
        static void Main(string[] args)
        {
            Repository <Student> repo = new Repository <Student>();
            Validator            val  = new Validator(repo);
            StudentController    ctrl = new StudentController(repo, val);

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