Пример #1
0
        public IActionResult jslesson3p3()
        {
            CodePyramidContext context = HttpContext.RequestServices.GetService(typeof(CodePyramidContext)) as CodePyramidContext;
            int progressSuccess        = context.InsertLessonCompletion("Javascript Lesson 3", Request.Cookies["currentUser"]);

            return(View());
        }
Пример #2
0
        public IActionResult htmlcsslesson1p4() //QUIZ
        {
            CodePyramidContext context = HttpContext.RequestServices.GetService(typeof(CodePyramidContext)) as CodePyramidContext;
            int progressSuccess        = context.InsertLessonCompletion("HTML/CSS Lesson 1", Request.Cookies["currentUser"]);

            return(View());
        }