public PatientsController(
     IPatientService patientService,
     IVerifiableCredentialService verifiableCredentialService)
 {
     _patientService = patientService;
     _verifiableCredentialService = verifiableCredentialService;
 }
 public SubmissionService CreateService(
     IHttpContextAccessor httpContext               = null,
     IAgreementService agreementService             = null,
     ISubmissionRulesService submissionRulesService = null,
     IBusinessEventService businessEventService     = null,
     IEmailService emailService       = null,
     IEnrolleeService enrolleeService = null,
     IEnrolleeSubmissionService enrolleeSubmissionService     = null,
     IVerifiableCredentialService verifiableCredentialService = null,
     IPrivilegeService privilegeService = null,
     ILogger <SubmissionService> logger = null)
 {
     return(new SubmissionService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                agreementService ?? A.Fake <IAgreementService>(),
                submissionRulesService ?? A.Fake <ISubmissionRulesService>(),
                businessEventService ?? A.Fake <IBusinessEventService>(),
                emailService ?? A.Fake <IEmailService>(),
                enrolleeService ?? A.Fake <IEnrolleeService>(),
                enrolleeSubmissionService ?? A.Fake <IEnrolleeSubmissionService>(),
                verifiableCredentialService ?? A.Fake <IVerifiableCredentialService>(),
                privilegeService ?? A.Fake <IPrivilegeService>(),
                logger ?? A.Fake <ILogger <SubmissionService> >()
                ));
 }
예제 #3
0
 public SubmissionService(ApiDbContext context, IHttpContextAccessor httpContext,
                          IAccessTermService accessTermService,
                          ISubmissionRulesService submissionRulesService,
                          IBusinessEventService businessEventService,
                          IEmailService emailService,
                          IEnrolleeService enrolleeService,
                          IEnrolleeProfileVersionService enrolleeProfileVersionService,
                          IVerifiableCredentialService verifiableCredentialService,
                          IPrivilegeService privilegeService)
     : base(context, httpContext)
 {
     _accessTermService            = accessTermService;
     _submissionRulesService       = submissionRulesService;
     _businessEventService         = businessEventService;
     _emailService                 = emailService;
     _enrolleeService              = enrolleeService;
     _enroleeProfileVersionService = enrolleeProfileVersionService;
     _verifiableCredentialService  = verifiableCredentialService;
     _privilegeService             = privilegeService;
 }
예제 #4
0
 public SubmissionService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IAgreementService agreementService,
     ISubmissionRulesService submissionRulesService,
     IBusinessEventService businessEventService,
     IEmailService emailService,
     IEnrolleeService enrolleeService,
     IEnrolleeSubmissionService enrolleeSubmissionService,
     IVerifiableCredentialService verifiableCredentialService,
     IPrivilegeService privilegeService,
     ILogger <SubmissionService> logger)
     : base(context, httpContext)
 {
     _agreementService            = agreementService;
     _submissionRulesService      = submissionRulesService;
     _businessEventService        = businessEventService;
     _emailService                = emailService;
     _enrolleeService             = enrolleeService;
     _enrolleeSubmissionService   = enrolleeSubmissionService;
     _verifiableCredentialService = verifiableCredentialService;
     _privilegeService            = privilegeService;
     _logger = logger;
 }
 public WebhooksController(IVerifiableCredentialService verifiableCredentialService)
 {
     _verifiableCredentialsService = verifiableCredentialService;
 }