public UserQuizzesController(IUserQuizRepository userQuizRepository, IQuizRepository quizRepository, UserManager <ApplicationUser> userManager, ITranslator translator) { _userQuizRepository = userQuizRepository; _quizRepository = quizRepository; _userManager = userManager; _translator = translator; }
public UnitOfWork(QuizContext context, IQuizRepository quizRepository, IIncorrectAnswerRepository incorrectAnswerRepository, IQuizIncorrectAnswerRepository quizIncorrectAnswerRepository, IUserQuizRepository userQuizRepository, IUserRepository userRepository) { _context = context; QuizRepository = quizRepository; IncorrectAnswerRepository = incorrectAnswerRepository; QuizIncorrectAnswerRepository = quizIncorrectAnswerRepository; UserRepository = userRepository; UserQuizRepository = userQuizRepository; }
public MemberController(ICourseRepository courseRepository, IClassRepository classRepository, IUserQuizRepository userQuizRepository, IFavoriteRepository favoriteRepository, ISavedSessionRepository savedSessionRepository, UserManager <ApplicationUser> userManager, ITranslator translator) { _courseRepository = courseRepository; _classRepository = classRepository; _userManager = userManager; _favoriteRepository = favoriteRepository; _savedSessionRepository = savedSessionRepository; _userQuizRepository = userQuizRepository; _translator = translator; }
public UserQuizController(IUserQuizRepository repo) { _repo = repo; }