public ModChaptersController(ModChapterService service, CPUserService userService, ModCourseService courseService, ModLessonService lessonService)
 {
     _service       = service;
     _userService   = userService;
     _courseService = courseService;
     _lessonService = lessonService;
 }
Esempio n. 2
0
 public CPApiController(ILogs logs
                        , IConfiguration configuration
                        , CPMenuService menuService
                        , CPUserService userService
                        , CPRoleService roleService
                        , CPLangService langService
                        , Security security
                        , ModLessonService lessonService
                        , ModLessonPartService lessonPartService
                        , ModLessonExtendService lessonExtendService
                        , ModLessonPartAnswerService answerService
                        , CPLoginLogService loginLogService
                        , FileProcess fileProcess)
 {
     _configuration        = configuration;
     _logs                 = logs;
     _menu                 = new WebMenu();
     _security             = security;
     _menuService          = menuService;
     _userService          = userService;
     _roleService          = roleService;
     _langService          = langService;
     _lessionService       = lessonService;
     _lessionPartService   = lessonPartService;
     _lessionExtendService = lessonExtendService;
     _loginLogService      = loginLogService;
     _answerService        = answerService;
     _fileProcess          = fileProcess;
     _currentLang          = StartUp.CurrentLang;
     _currentUser          = StartUp.CurrentUser;
 }
 public ModCoursesController(ModCourseService service, ModProgramService programService, ModSubjectService subjectService, ModGradeService gradeService, ModChapterService chapterService, ModLessonService lessonService)
 {
     _service        = service;
     _subjectService = subjectService;
     _gradeService   = gradeService;
     _programService = programService;
     _chapterService = chapterService;
     _lessonService  = lessonService;
 }
 public ModLessionsController(ModLessonService service)
 {
     _service = service;
 }