public ExerciseRepository(DataContext context, IMapper mapper, ICategoryRepository categoryRepository, IOptionAnswerRepository optionAnswerRepository) { _context = context; _mapper = mapper; _categoryRepository = categoryRepository; _optionAnswerRepository = optionAnswerRepository; }
public OptionAnswersController(IMapper mapper, IOptionAnswerRepository optionAnswerRepository, IUserRepository userRepository, IOptionRepository optionRepository, IUserExercisePointRepository userExercisePointRepository, IExerciseRepository exerciseRepository, ISubexerciseRepository subexerciseRepository) { _userRepository = userRepository; _mapper = mapper; _optionAnswerRepository = optionAnswerRepository; _optionRepository = optionRepository; _userExercisePointRepository = userExercisePointRepository; _exerciseRepository = exerciseRepository; _subexerciseRepository = subexerciseRepository; }