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);

        }