Esempio n. 1
0
 public LessonController(ILessonService lessonService, ITutorLessonService tutorLessonService, ILessonCommentService lessonCommentService, IKullaniciService kullaniciService)
 {
     _lessonService        = lessonService;
     _tutorLessonService   = tutorLessonService;
     _lessonCommentService = lessonCommentService;
     _kullaniciService     = kullaniciService;
 }
Esempio n. 2
0
 public LessonCommentController(ILessonCommentService lessonCommentService,
                                IHostingEnvironment hostingEnvironment,
                                IMapper mapper
                                )
 {
     _hostingEnvironment   = hostingEnvironment;
     _lessonCommentService = lessonCommentService;
     _mapper  = mapper;
     _context = _lessonCommentService.GetContext();
 }
 public LessonCommentController(ILessonCommentService lessonCommentService, IConfiguration configuration, ILessonService lessonService)
 {
     _lessonCommentService = lessonCommentService;
     Configuration         = configuration;
     _lessonService        = lessonService;
 }