public CourseMaterialController(ISessionRepository sessionRepository, IUserRepository userRepository, ICourseMaterialRepository courseMaterialRepository, ICommentRepository commentRepository) { _sessionRepository = sessionRepository; _userRepository = userRepository; _courseMaterialRepository = courseMaterialRepository; _commentRepository = commentRepository; }
public CourseMaterialService(ICourseMaterialRepository courseMaterialRepository) { _courseMaterialRepository = courseMaterialRepository; }