public StudentsController()
        {
            var coursesContext = new CoursesContext();
            var coursesUnitOfWork = new CoursesUnitOfWork(coursesContext);
            var studentsRespository = new StudentsRepository(coursesUnitOfWork);

            this._studentsAppService = new StudentsAppService(studentsRespository);
        }
예제 #2
0
        public CoursesController()
        {

            var coursesContext = new CoursesContext();
            var coursesUnitOfWork = new CoursesUnitOfWork(coursesContext);
            var coursesRespository = new CoursesRepository(coursesUnitOfWork);

            this._coursesAppService = new CoursesAppService(coursesRespository);

        }