public DocumentAccessController(
     IDocumentAccessTokenService documentAccessTokenService,
     IDocumentManagerClient documentManagerClient)
 {
     _documentAccessTokenService = documentAccessTokenService;
     _documentManagerClient      = documentManagerClient;
 }
Esempio n. 2
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
                ));
 }
Esempio n. 3
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;
 }
Esempio n. 4
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;
 }