public CourseMaterialController(ISessionRepository sessionRepository, IUserRepository userRepository,
                                 ICourseMaterialRepository courseMaterialRepository, ICommentRepository commentRepository)
 {
     _sessionRepository        = sessionRepository;
     _userRepository           = userRepository;
     _courseMaterialRepository = courseMaterialRepository;
     _commentRepository        = commentRepository;
 }
Пример #2
0
 public CourseMaterialService(ICourseMaterialRepository courseMaterialRepository)
 {
     _courseMaterialRepository = courseMaterialRepository;
 }