示例#1
0
 public CoachLessonController(
     ILessonService lessonService,
     ICoachLessonService coachLessonService,
     ILessonSubjectService lessonSubjectService,
     ILessonLevelRepository lessonLevelRepository)
 {
     this._lessonService         = lessonService;
     this._coachLessonService    = coachLessonService;
     this._lessonSubjectService  = lessonSubjectService;
     this._lessonLevelRepository = lessonLevelRepository;
     this._logger = LogManager.GetLogger("apiLogger");
 }
示例#2
0
 public LessonSubjectsController(KorepetycjeContext context, ILessonSubjectService lessonSubjectService)
 {
     ctx            = context;
     logger         = LogManager.GetLogger("apiLogger");
     subjectService = lessonSubjectService;
 }