Exemplo n.º 1
0
 public HomeController(IPageService pageService,
                       ISubmitWorkflow submitWorkflow,
                       IPaymentWorkflow paymentWorkflow,
                       IFileUploadService fileUploadService,
                       IWebHostEnvironment hostingEnvironment,
                       IActionsWorkflow actionsWorkflow,
                       ISuccessWorkflow successWorkflow)
 {
     _pageService        = pageService;
     _submitWorkflow     = submitWorkflow;
     _paymentWorkflow    = paymentWorkflow;
     _fileUploadService  = fileUploadService;
     _hostingEnvironment = hostingEnvironment;
     _actionsWorkflow    = actionsWorkflow;
     _successWorkflow    = successWorkflow;
 }
Exemplo n.º 2
0
 public PageService(
     IEnumerable <IElementValidator> validators,
     IPageHelper pageHelper,
     ISessionHelper sessionHelper,
     IAddressService addressService,
     IFileUploadService fileUploadService,
     IStreetService streetService,
     IOrganisationService organisationService,
     IDistributedCacheWrapper distributedCache,
     IOptions <DistributedCacheExpirationConfiguration> distributedCacheExpirationConfiguration,
     IWebHostEnvironment environment,
     ISuccessPageFactory successPageFactory,
     IPageFactory pageFactory,
     IBookingService bookingService,
     ISchemaFactory schemaFactory,
     IIncomingDataHelper incomingDataHelper,
     IActionsWorkflow actionsWorkflow,
     IAddAnotherService addAnotherService,
     IFormAvailabilityService formAvailabilityService,
     ILogger <IPageService> logger,
     IEnumerable <IFileStorageProvider> fileStorageProviders,
     IConfiguration configuration)
 {
     _validators                = validators;
     _pageHelper                = pageHelper;
     _sessionHelper             = sessionHelper;
     _streetService             = streetService;
     _addressService            = addressService;
     _bookingService            = bookingService;
     _organisationService       = organisationService;
     _fileUploadService         = fileUploadService;
     _distributedCache          = distributedCache;
     _schemaFactory             = schemaFactory;
     _successPageContentFactory = successPageFactory;
     _pageContentFactory        = pageFactory;
     _environment               = environment;
     _formAvailabilityService   = formAvailabilityService;
     _distributedCacheExpirationConfiguration = distributedCacheExpirationConfiguration.Value;
     _incomingDataHelper   = incomingDataHelper;
     _actionsWorkflow      = actionsWorkflow;
     _logger               = logger;
     _addAnotherService    = addAnotherService;
     _fileStorageProviders = fileStorageProviders;
     _configuration        = configuration;
 }
Exemplo n.º 3
0
 public PageService(
     IEnumerable <IElementValidator> validators,
     IPageHelper pageHelper,
     ISessionHelper sessionHelper,
     IAddressService addressService,
     IFileUploadService fileUploadService,
     IStreetService streetService,
     IOrganisationService organisationService,
     IDistributedCacheWrapper distributedCache,
     IOptions <DistributedCacheExpirationConfiguration> distributedCacheExpirationConfiguration,
     IWebHostEnvironment environment,
     ISuccessPageFactory successPageFactory,
     IPageFactory pageFactory,
     IBookingService bookingService,
     ISchemaFactory schemaFactory,
     IMappingService mappingService,
     IPayService payService,
     IIncomingDataHelper incomingDataHelper,
     IActionsWorkflow actionsWorkflow)
 {
     _validators                = validators;
     _pageHelper                = pageHelper;
     _sessionHelper             = sessionHelper;
     _streetService             = streetService;
     _addressService            = addressService;
     _bookingService            = bookingService;
     _organisationService       = organisationService;
     _fileUploadService         = fileUploadService;
     _distributedCache          = distributedCache;
     _schemaFactory             = schemaFactory;
     _successPageContentFactory = successPageFactory;
     _pageContentFactory        = pageFactory;
     _environment               = environment;
     _distributedCacheExpirationConfiguration = distributedCacheExpirationConfiguration.Value;
     _payService         = payService;
     _mappingService     = mappingService;
     _incomingDataHelper = incomingDataHelper;
     _actionsWorkflow    = actionsWorkflow;
 }
Exemplo n.º 4
0
 public SuccessWorkflow(IPageService pageService, ISchemaFactory schemaFactory, IActionsWorkflow actionsWorkflow)
 {
     _pageService     = pageService;
     _schemaFactory   = schemaFactory;
     _actionsWorkflow = actionsWorkflow;
 }