public TestController(IUserTestService userTestService, ICategoryService categoryService, IMappingProvider mappingProvider, ITestService testService) { this.userTestService = userTestService; this.categoryService = categoryService; this.mappingProvider = mappingProvider; this.testService = testService; }
public HomeController(IMappingProvider mapper, ITestService testService, IUserManagerProvider userManager, IQuestionService questionService, ICategoryService categoryService, IUserTestService userTestService, IUserAnswerService answerService) { this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); this.testService = testService ?? throw new ArgumentNullException(nameof(testService)); this.userManager = userManager ?? throw new ArgumentNullException(nameof(userManager)); this.questionService = questionService ?? throw new ArgumentNullException(nameof(questionService)); this.categoryService = categoryService ?? throw new ArgumentNullException(nameof(categoryService)); this.userTestService = userTestService ?? throw new ArgumentNullException(nameof(userTestService)); this.answerService = answerService ?? throw new ArgumentNullException(nameof(answerService)); }
public StatisticPresenter(IUserTestService userTestService, ISecurityManager securityManager) { _userTestService = userTestService; _securityManager = securityManager; }
public UserManagementTests(TestApplicationFactory factory) : base(factory) { testService = Services.GetRequiredService <IUserTestService>(); }
/// <summary> /// Конструктор презентера /// </summary> /// <param name="userTestService"></param> /// <param name="testService"></param> public TestPresenter(IUserTestService userTestService, ITestService testService) { _userTestService = userTestService; _testService = testService; }
public UserTestController(IUserTestService userTestService) { _userTestService = userTestService; }
public HomeController(ICategoryService categoryService, IUserTestService userTestService, IMappingProvider mappingProvider) { this.categoryService = categoryService; this.userTestService = userTestService; this.mappingProvider = mappingProvider; }