public SetAnswersBase(QnaDataContext dataContext, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService, IAnswerValidator answerValidator) { _dataContext = dataContext; _notRequiredProcessor = notRequiredProcessor; _tagProcessingService = tagProcessingService; _answerValidator = answerValidator; }
public async Task SetUp() { QnaDataContext = DataContextHelpers.GetInMemoryDataContext(); NotRequiredProcessor = new NotRequiredProcessor(); TagProcessingService = new TagProcessingService(QnaDataContext); SetAnswersBase = new SetAnswersBase(QnaDataContext, NotRequiredProcessor, TagProcessingService, null); ApplicationId = Guid.NewGuid(); ApplicationDataJson = JsonConvert.SerializeObject(new { OrgType = "OrgType1" }); await QnaDataContext.Applications.AddAsync(new Data.Entities.Application { Id = ApplicationId, ApplicationData = ApplicationDataJson }); await QnaDataContext.SaveChangesAsync(); NextAction = new Next { Action = "NextPage", ReturnId = "2" }; }
public GetSectionHandler(QnaDataContext dataContext, IMapper mapper, INotRequiredProcessor notRequiredProcessor) { _dataContext = dataContext; _mapper = mapper; _notRequiredProcessor = notRequiredProcessor; }
public ResetSectionAnswersHandler(QnaDataContext dataContext, IMediator mediator, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService) : base(dataContext, notRequiredProcessor, tagProcessingService, null) { _mediator = mediator; }
public SkipPageBySectionNoHandler(QnaDataContext dataContext, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService) : base(dataContext, notRequiredProcessor, tagProcessingService, null) { }
public SubmitPageOfFilesHandler(QnaDataContext dataContext, IOptions <FileStorageConfig> fileStorageConfig, IEncryptionService encryptionService, IAnswerValidator answerValidator, IFileContentValidator fileContentValidator, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService) : base(dataContext, notRequiredProcessor, tagProcessingService, answerValidator) { _fileStorageConfig = fileStorageConfig; _encryptionService = encryptionService; _fileContentValidator = fileContentValidator; }
public ResetPageAnswersHandler(QnaDataContext dataContext, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService) : base(dataContext, notRequiredProcessor, tagProcessingService, null) { }
public SetPageAnswersBySectionNoHandler(QnaDataContext dataContext, IAnswerValidator answerValidator, INotRequiredProcessor notRequiredProcessor, ITagProcessingService tagProcessingService) : base(dataContext, notRequiredProcessor, tagProcessingService, answerValidator) { }