예제 #1
0
 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;
 }
예제 #2
0
 public SubjectController(ICrudInterface <SubjectDto> subjectService)
 {
     _subjectService = subjectService;
 }
예제 #3
0
 public CategoriesController(ICrudInterface <CategoryDto> categoryService)
 {
     _categoryService = categoryService;
 }
예제 #4
0
 public CartsController(ICrudInterface <CartDto> cartService)
 {
     _cartService = cartService;
 }
예제 #5
0
 public QuestionResultController(ICrudInterface <QuestionResultDto> questionResultService)
 {
     _questionResultService = questionResultService;
 }
예제 #6
0
 public QuestionController(ICrudInterface <QuestionDto> questionService)
 {
     _questionService = questionService;
 }
예제 #7
0
 public AttemptController(ICrudInterface <AttemptDto> attemptService)
 {
     _attemptService = attemptService;
 }
예제 #8
0
 public AnswerController(ICrudInterface <AnswerDto> answerService)
 {
     _answerService = answerService;
 }
예제 #9
0
 public ProductsController(ICrudInterface <ProductDto> productService)
 {
     _productService = productService;
 }
예제 #10
0
 public TopicController(ICrudInterface <TopicDto> topicService)
 {
     _topicService = topicService;
 }