public GameHub(IGameService gameService, IAnswerService answerService, IApplicationUserService applicationUserService, IUserAnswerService userAnswerService) { this.gameService = gameService; this.answerService = answerService; this.applicationUserService = applicationUserService; this.userAnswerService = userAnswerService; }
public QuestionController(IQuestionService questionService, IQuestionAnswerService questionAnswerService, IUserAnswerService userAnswerService) { this.QuestionService = questionService; this.QuestionAnswerService = questionAnswerService; this.UserAnswerService = userAnswerService; }
public QuizController( IQuizService quizService, IUserAnswerService userAnswerService) { this.quizService = quizService; this.userAnswerService = userAnswerService; }
public ResultController(IQuestionService questionService, IQuestionAnswerService questionAnswerService, IUserAnswerService userAnswerService, IResultService resultService, ITestService testService) { this.QuestionService = questionService; this.QuestionAnswerService = questionAnswerService; this.UserAnswerService = userAnswerService; this.ResultService = resultService; 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 QuizController(IQuizService quizzes, IAnswerService answers, IUserService users, IUserAnswerService userAnswers, IUserStatisticService userStatistics, ICategoryService categories, IQuestionService questions) { this.quizzes = quizzes; this.answers = answers; this.users = users; this.userAnswers = userAnswers; this.userStatistics = userStatistics; this.categories = categories; this.questions = questions; }
public WeiXinController(IUserService userService , IUserAnswerService userAnswerService , IQuestionBankService questionBankService , IPropertyService propertyService , IWebHelper webHelper , HttpContextBase httpContext , IWorkContext workContext , ILogger logger) { this._logger = logger; this._userService = userService; this._userAnswerService = userAnswerService; this._questionBankService = questionBankService; this._propertyService = propertyService; this._webHelper = webHelper; this._httpContext = httpContext; this._workContext = workContext; }
public CustomMessageHandler(Stream inputStream, PostModel postModel , IUserService userService , IUserAnswerService userAnswerService , IQuestionBankService questionBankService , IPropertyService propertyService , IWebHelper webHelper , HttpContextBase httpContext , IWorkContext workContext , ILogger logger) : base(inputStream, postModel, 0, null) { //System.Threading.Interlocked.Increment(ref REQUESTNO); this._logger = logger; this._userService = userService; this._userAnswerService = userAnswerService; this._questionBankService = questionBankService; this._propertyService = propertyService; this._webHelper = webHelper; this._httpContext = httpContext; this._workContext = workContext; }
public UserAnswerController(IUserAnswerService userAnswerService) { _userAnswerService = userAnswerService; }
public UsersAnswersController(IUnitOfWork unitOfWork, IUserAnswerService userAnswerService) { this.unitOfWork = unitOfWork; this.userAnswerService = userAnswerService; }
public UserAnswerController(IUserAnswerService userAnswerService , HttpRequestBase request) { this._userAnswerService = userAnswerService; this._request = request; }
public UserAnswerController(IUserAnswerService userAnswerService, IMapper mapper, IOptions <AppSettings> appSettings) { _userAnswerService = userAnswerService; _mapper = mapper; _appSettings = appSettings.Value; }