public DocumentAccessController(
     IDocumentAccessTokenService documentAccessTokenService,
     IDocumentManagerClient documentManagerClient)
 {
     _documentAccessTokenService = documentAccessTokenService;
     _documentManagerClient      = documentManagerClient;
 }
예제 #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;
 }
예제 #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
                ));
 }
예제 #4
0
 public DocumentService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IAgreementService agreementService,
     ISiteService siteService,
     IDocumentManagerClient documentManagerClient)
     : base(context, httpContext)
 {
     _agreementService      = agreementService;
     _siteService           = siteService;
     _documentManagerClient = documentManagerClient;
 }
예제 #5
0
 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;
 }
예제 #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>()
                ));
 }
예제 #9
0
 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;
 }
예제 #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>()
                ));
 }
예제 #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>()
                ));
 }
예제 #14
0
 public DocumentManagerController(IDocumentManagerClient documentManagerClient)
 {
     _client = documentManagerClient;
 }