public TestService( ICrudInterface <AttemptDto> attemptService, ICrudInterface <TopicDto> topicService, ICrudInterface <QuestionDto> questionService, ICrudInterface <AnswerDto> answerService, ICrudInterface <QuestionResultDto> questionResultService, AbstractValidator <TestModel> testValidator, AbstractValidator <UserDto> userValidator) { _attemptService = attemptService; _topicService = topicService; _questionService = questionService; _answerService = answerService; _questionResultService = questionResultService; _testValidator = testValidator; _userValidator = userValidator; }
public SubjectController(ICrudInterface <SubjectDto> subjectService) { _subjectService = subjectService; }
public CategoriesController(ICrudInterface <CategoryDto> categoryService) { _categoryService = categoryService; }
public CartsController(ICrudInterface <CartDto> cartService) { _cartService = cartService; }
public QuestionResultController(ICrudInterface <QuestionResultDto> questionResultService) { _questionResultService = questionResultService; }
public QuestionController(ICrudInterface <QuestionDto> questionService) { _questionService = questionService; }
public AttemptController(ICrudInterface <AttemptDto> attemptService) { _attemptService = attemptService; }
public AnswerController(ICrudInterface <AnswerDto> answerService) { _answerService = answerService; }
public ProductsController(ICrudInterface <ProductDto> productService) { _productService = productService; }
public TopicController(ICrudInterface <TopicDto> topicService) { _topicService = topicService; }