public DocumentAccessController(
     IDocumentAccessTokenService documentAccessTokenService,
     IDocumentManagerClient documentManagerClient)
 {
     _documentAccessTokenService = documentAccessTokenService;
     _documentManagerClient      = documentManagerClient;
 }
Exemple #2
0
 public EmailService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IRazorConverterService razorConverterService,
     IDocumentService documentService,
     IPdfService pdfService,
     IOrganizationService organizationService,
     IChesClient chesClient,
     ISmtpEmailClient smtpEmailClient,
     IDocumentManagerClient documentManagerClient,
     IDocumentAccessTokenService documentAccessTokenService,
     ISiteService siteService,
     IAgreementService agreementService)
     : base(context, httpContext)
 {
     _razorConverterService      = razorConverterService;
     _documentService            = documentService;
     _pdfService                 = pdfService;
     _organizationService        = organizationService;
     _chesClient                 = chesClient;
     _documentManagerClient      = documentManagerClient;
     _documentAccessTokenService = documentAccessTokenService;
     _smtpEmailClient            = smtpEmailClient;
     _siteService                = siteService;
     _agreementService           = agreementService;
 }
Exemple #3
0
 public EmailService CreateService(
     IHttpContextAccessor httpContext             = null,
     IRazorConverterService razorConverterService = null,
     IDocumentService documentService             = null,
     IPdfService pdfService = null,
     IOrganizationService organizationService = null,
     IChesClient chesClient                                 = null,
     ISmtpEmailClient smtpEmailClient                       = null,
     IDocumentManagerClient documentManagerClient           = null,
     IDocumentAccessTokenService documentAccessTokenService = null,
     ISiteService siteService                               = null,
     IAgreementService agreementService                     = null
     )
 {
     return(new EmailService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                razorConverterService,
                documentService,
                pdfService,
                organizationService,
                chesClient,
                smtpEmailClient,
                documentManagerClient,
                documentAccessTokenService,
                siteService,
                agreementService
                ));
 }
Exemple #4
0
 public DocumentService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IAgreementService agreementService,
     ISiteService siteService,
     IDocumentManagerClient documentManagerClient)
     : base(context, httpContext)
 {
     _agreementService      = agreementService;
     _siteService           = siteService;
     _documentManagerClient = documentManagerClient;
 }
 public EnrolleeService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IMapper mapper,
     IBusinessEventService businessEventService,
     IDocumentManagerClient documentClient)
     : base(context, httpContext)
 {
     _mapper = mapper;
     _businessEventService = businessEventService;
     _documentClient       = documentClient;
 }
 public OrganizationService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IBusinessEventService businessEventService,
     IPartyService partyService,
     IDocumentManagerClient documentClient)
     : base(context, httpContext)
 {
     _businessEventService = businessEventService;
     _partyService         = partyService;
     _documentClient       = documentClient;
 }
Exemple #7
0
 public DocumentService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     ISiteService siteService,
     IOrganizationService organizationService,
     IDocumentManagerClient documentManagerClient)
     : base(context, httpContext)
 {
     _siteService           = siteService;
     _organizationService   = organizationService;
     _documentManagerClient = documentManagerClient;
 }
 public EnrolleeService CreateService(
     IHttpContextAccessor httpContext = null,
     IMapper mapper = null,
     IBusinessEventService businessEventService = null,
     IDocumentManagerClient documentClient      = null)
 {
     return(new EnrolleeService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                mapper ?? DefaultMapper(),
                businessEventService ?? A.Fake <IBusinessEventService>(),
                documentClient ?? A.Fake <IDocumentManagerClient>()
                ));
 }
 public SiteService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IMapper mapper,
     IBusinessEventService businessEventService,
     IOrganizationService organizationService,
     IDocumentManagerClient documentClient)
     : base(context, httpContext)
 {
     _mapper = mapper;
     _businessEventService = businessEventService;
     _organizationService  = organizationService;
     _documentClient       = documentClient;
 }
Exemple #10
0
 public AgreementService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IMapper mapper,
     IPdfService pdfService,
     IRazorConverterService razorConverterService,
     IDocumentManagerClient documentClient)
     : base(context, httpContext)
 {
     _mapper                = mapper;
     _pdfService            = pdfService;
     _razorConverterService = razorConverterService;
     _documentClient        = documentClient;
 }
 public AgreementService CreateService(
     IHttpContextAccessor httpContext = null,
     IMapper mapper         = null,
     IPdfService pdfService = null,
     IRazorConverterService razorConverterService = null,
     IDocumentManagerClient documentClient        = null)
 {
     return(new AgreementService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                mapper ?? A.Fake <IMapper>(),
                pdfService ?? A.Fake <IPdfService>(),
                razorConverterService ?? A.Fake <IRazorConverterService>(),
                documentClient ?? A.Fake <IDocumentManagerClient>()
                ));
 }
Exemple #12
0
 public EmailDocumentsService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IAgreementService agreementService,
     IDocumentAccessTokenService documentAccessTokenService,
     IDocumentManagerClient documentClient,
     IOrganizationService organizationService,
     IPdfService pdfService,
     IRazorConverterService razorConverterService)
     : base(context, httpContext)
 {
     _agreementService           = agreementService;
     _documentAccessTokenService = documentAccessTokenService;
     _documentClient             = documentClient;
     _organizationService        = organizationService;
     _pdfService            = pdfService;
     _razorConverterService = razorConverterService;
 }
 public EnrolleeService CreateService(
     IHttpContextAccessor httpContext = null,
     IMapper mapper = null,
     ISubmissionRulesService automaticAdjudicationService = null,
     IEmailService emailService = null,
     IEnrolleeSubmissionService enrolleeSubmissionService = null,
     IBusinessEventService businessEventService           = null,
     ISiteService siteService = null,
     IDocumentManagerClient documentClient = null)
 {
     return(new EnrolleeService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                mapper ?? DefaultMapper(),
                automaticAdjudicationService ?? A.Fake <ISubmissionRulesService>(),
                emailService ?? A.Fake <IEmailService>(),
                enrolleeSubmissionService ?? A.Fake <IEnrolleeSubmissionService>(),
                businessEventService ?? A.Fake <IBusinessEventService>(),
                siteService ?? A.Fake <ISiteService>(),
                documentClient ?? A.Fake <IDocumentManagerClient>()
                ));
 }
 public DocumentManagerController(IDocumentManagerClient documentManagerClient)
 {
     _client = documentManagerClient;
 }