public EnrolmentCertificateService CreateService(
     IHttpContextAccessor httpContext     = null,
     IAccessTermService accessTermService = null,
     IEnrolleeProfileVersionService enroleeProfileVersionService = null)
 {
     return(new EnrolmentCertificateService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                accessTermService ?? A.Fake <IAccessTermService>(),
                enroleeProfileVersionService ?? A.Fake <IEnrolleeProfileVersionService>()
                ));
 }
 public EnrolleesAccessTermsController(
     IEnrolleeService enrolleeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enrolleeProfileVersionService,
     IRazorConverterService razorConverterService,
     IBusinessEventService businessEventService)
 {
     _enrolleeService               = enrolleeService;
     _accessTermService             = accessTermService;
     _enrolleeProfileVersionService = enrolleeProfileVersionService;
     _razorConverterService         = razorConverterService;
     _businessEventService          = businessEventService;
 }
Esempio n. 3
0
 public SubmissionsController(
     ISubmissionService submissionService,
     IAdminService adminService,
     IEnrolleeService enrolleeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enrolleeProfileVersionService)
 {
     _submissionService             = submissionService;
     _adminService                  = adminService;
     _enrolleeService               = enrolleeService;
     _accessTermService             = accessTermService;
     _enrolleeProfileVersionService = enrolleeProfileVersionService;
 }
Esempio n. 4
0
 public EnrolleeService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     ISubmissionRulesService automaticAdjudicationService,
     IEmailService emailService,
     IPrivilegeService privilegeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enroleeProfileVersionService,
     IBusinessEventService businessEventService)
     : base(context, httpContext)
 {
     _automaticAdjudicationService = automaticAdjudicationService;
     _emailService                 = emailService;
     _privilegeService             = privilegeService;
     _accessTermService            = accessTermService;
     _enroleeProfileVersionService = enroleeProfileVersionService;
     _businessEventService         = businessEventService;
 }
Esempio n. 5
0
 public EnrolleeService CreateService(
     IHttpContextAccessor httpContext = null,
     ISubmissionRulesService automaticAdjudicationService = null,
     IEmailService emailService           = null,
     IPrivilegeService privilegeService   = null,
     IAccessTermService accessTermService = null,
     IEnrolleeProfileVersionService enroleeProfileVersionService = null,
     IBusinessEventService businessEventService = null)
 {
     return(new EnrolleeService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                automaticAdjudicationService ?? A.Fake <ISubmissionRulesService>(),
                emailService ?? A.Fake <IEmailService>(),
                privilegeService ?? A.Fake <IPrivilegeService>(),
                accessTermService ?? A.Fake <IAccessTermService>(),
                enroleeProfileVersionService ?? A.Fake <IEnrolleeProfileVersionService>(),
                businessEventService ?? A.Fake <IBusinessEventService>()
                ));
 }
Esempio n. 6
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;
 }
Esempio n. 7
0
 public EnrolleesController(
     IEnrolleeService enrolleeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enrolleeProfileVersionService,
     IAdminService adminService,
     IBusinessEventService businessEventService,
     IEmailService emailService,
     ISubmissionService submissionService,
     IDocumentService documentService,
     IRazorConverterService razorConverterService)
 {
     _enrolleeService               = enrolleeService;
     _accessTermService             = accessTermService;
     _enrolleeProfileVersionService = enrolleeProfileVersionService;
     _adminService          = adminService;
     _businessEventService  = businessEventService;
     _emailService          = emailService;
     _submissionService     = submissionService;
     _documentService       = documentService;
     _razorConverterService = razorConverterService;
 }