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> >()
                ));
 }
Пример #2
0
 public EnrolleeController(ApplicationDbContext context, IEnrolleeService enrolleeService, IMapper mapper, IEmailServiceKit emailServiceKit, IEnrolleeResponseComposer enrolleeResponseComposer)
 {
     _enrolleeService          = enrolleeService;
     _mapper                   = mapper;
     _emailServiceKit          = emailServiceKit;
     _enrolleeResponseComposer = enrolleeResponseComposer;
 }
Пример #3
0
 public FacultiesController(IFacultyService facultyService, IMapper mapper, IEnrolleeService enrolleeService, IFacultyResponseComposer facultyResponseComposer)
 {
     _facultyService          = facultyService;
     _mapper                  = mapper;
     _enrolleeService         = enrolleeService;
     _facultyResponseComposer = facultyResponseComposer;
 }
 public EnrolleeController(IOperatorService operatorService, IEnrolleeService enrolleeService, IStatementService statementService, IStudentStatusService studentStatusService)
 {
     _operatorService      = operatorService;
     _enrolleeService      = enrolleeService;
     _statementService     = statementService;
     _studentStatusService = studentStatusService;
 }
Пример #5
0
        // GET: Task
        public TaskController(IHelperService helperService, ISmsService smsSvc, IEnrolleeService enrolleeService, ILogAdminService loggersvc, IProviderService providersvc, ISession session, IEmailSender emailSender, SiteSettings siteSettings, Site site, IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc, IServicesService serviceSvc, IProviderService Providersvc, ILogAdminService logger, ICompanyService companyService, UserService userService, IRoleService roleService, MailSettings mailSettings, Services.ClaimService claimserv)
        {
            _helperSvc       = helperService;
            _enrolleeService = enrolleeService;
            _smsservice      = smsSvc;
            _logger          = loggersvc;
            _providerservice = providersvc;

            _session           = session;
            _emailSender       = emailSender;
            _siteSettings      = siteSettings;
            _site              = site;
            _planService       = planService;
            _uniquePageService = uniquepageService;
            _pageMessageSvc    = pageMessageSvc;

            _serviceSvc  = serviceSvc;
            _providerSvc = Providersvc;
            _logger      = logger;
            _companySvc  = companyService;
            _userservice = userService;
            _rolesvc     = roleService;

            _mailSettings = mailSettings;

            _claimservice = claimserv;
        }
Пример #6
0
 public SendBirthDayMessageTask(IHelperService helperService, ISmsService smsSvc, IEnrolleeService enrolleeService, ILogAdminService loggersvc, IProviderService providersvc)
 {
     _helperSvc       = helperService;
     _enrolleeService = enrolleeService;
     _smsservice      = smsSvc;
     _logger          = loggersvc;
     _providerservice = providersvc;
 }
 public FacultyController(IFacultyService facultyService, IMarkService markService, IEnrolleeService enrolleeService, ISchoolSubjectsService schoolSubjectsService, IStudentStatusService studentStatusService, IExaminationSubjectService examinationSubjectService)
 {
     _facultyService            = facultyService;
     _enrolleeService           = enrolleeService;
     _schoolSubjectsService     = schoolSubjectsService;
     _studentStatusService      = studentStatusService;
     _examinationSubjectService = examinationSubjectService;
     _markService = markService;
 }
        public EnrolleeServiceTests()
        {
            var logger = new Mock <ILogger>();

            _unitOfWorkMock = new Mock <IUnitOfWork>();
            _messageSender  = new Mock <IMessageSender>();
            _mapper         = new Mock <IMapper>();

            _sut = new EnrolleeService(_unitOfWorkMock.Object, logger.Object, _messageSender.Object, _mapper.Object);
        }
Пример #9
0
 public EnrolleeSubmissionService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IMapper mapper,
     IEnrolleeService enrolleeService
     ) : base(context, httpContext)
 {
     _mapper          = mapper;
     _enrolleeService = enrolleeService;
 }
Пример #10
0
 public ProvisionerAccessController(
     IEnrolleeService enrolleeService,
     IEnrolmentCertificateService enrolmentCertificateService,
     IEmailService emailService,
     IBusinessEventService businessEventService)
 {
     _enrolleeService      = enrolleeService;
     _certificateService   = enrolmentCertificateService;
     _emailService         = emailService;
     _businessEventService = businessEventService;
 }
Пример #11
0
 public VerifiableCredentialService(
     ApiDbContext context,
     IHttpContextAccessor httpContext,
     IVerifiableCredentialClient verifiableCredentialClient,
     IEnrolleeService enrolleeService,
     ILogger <VerifiableCredentialService> logger)
     : base(context, httpContext)
 {
     _verifiableCredentialClient = verifiableCredentialClient;
     _enrolleeService            = enrolleeService;
     _logger = logger;
 }
 public EnrolleeSubmissionService CreateService(
     IHttpContextAccessor httpContext = null,
     IMapper mapper = null,
     IEnrolleeService enrolleeService = null)
 {
     return(new EnrolleeSubmissionService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                mapper ?? A.Fake <IMapper>(),
                enrolleeService ?? A.Fake <IEnrolleeService>()
                ));
 }
 public EnrolleesAccessTermsController(
     IEnrolleeService enrolleeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enrolleeProfileVersionService,
     IRazorConverterService razorConverterService,
     IBusinessEventService businessEventService)
 {
     _enrolleeService               = enrolleeService;
     _accessTermService             = accessTermService;
     _enrolleeProfileVersionService = enrolleeProfileVersionService;
     _razorConverterService         = razorConverterService;
     _businessEventService          = businessEventService;
 }
Пример #14
0
 public SubmissionsController(
     ISubmissionService submissionService,
     IAdminService adminService,
     IEnrolleeService enrolleeService,
     IAccessTermService accessTermService,
     IEnrolleeProfileVersionService enrolleeProfileVersionService)
 {
     _submissionService             = submissionService;
     _adminService                  = adminService;
     _enrolleeService               = enrolleeService;
     _accessTermService             = accessTermService;
     _enrolleeProfileVersionService = enrolleeProfileVersionService;
 }
Пример #15
0
 public DownloadFilePageController(IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc, IHelperService helperService, IServicesService serviceSvc, IProviderService Providersvc, ILogAdminService logger, ICompanyService companyService, UserService userService, IRoleService roleService, IEmailSender emailSender, IEnrolleeService enrolleeService)
 {
     _planService       = planService;
     _uniquePageService = uniquepageService;
     _pageMessageSvc    = pageMessageSvc;
     _helperSvc         = helperService;
     _serviceSvc        = serviceSvc;
     _providerSvc       = Providersvc;
     _logger            = logger;
     _companySvc        = companyService;
     _userservice       = userService;
     _rolesvc           = roleService;
     _emailSender       = emailSender;
     _enrolleeService   = enrolleeService;
 }
 public EnrolleeAgreementsController(
     IEnrolleeService enrolleeService,
     IAgreementService agreementService,
     IEnrolleeSubmissionService enrolleeSubmissionService,
     IRazorConverterService razorConverterService,
     IBusinessEventService businessEventService,
     IPdfService pdfService)
 {
     _enrolleeService           = enrolleeService;
     _agreementService          = agreementService;
     _enrolleeSubmissionService = enrolleeSubmissionService;
     _razorConverterService     = razorConverterService;
     _businessEventService      = businessEventService;
     _pdfService = pdfService;
 }
 public SubmissionsController(
     ISubmissionService submissionService,
     IAdminService adminService,
     IEnrolleeService enrolleeService,
     IAgreementService agreementService,
     IEnrolleeSubmissionService enrolleeSubmissionService,
     IBusinessEventService businessEventService)
 {
     _submissionService         = submissionService;
     _adminService              = adminService;
     _enrolleeService           = enrolleeService;
     _agreementService          = agreementService;
     _enrolleeSubmissionService = enrolleeSubmissionService;
     _businessEventService      = businessEventService;
 }
Пример #18
0
        public SubscriptionTask(IPlanService planService, IUniquePageService uniquepageService, IPageMessageSvc pageMessageSvc, IHelperService helperService, IServicesService serviceSvc, IProviderService Providersvc, ILogAdminService logger, ICompanyService companyService, UserService userService, IRoleService roleService, IEmailSender emailSender, MailSettings mailSettings, IEnrolleeService enrolleeService)
        {
            _planService       = planService;
            _uniquePageService = uniquepageService;
            _pageMessageSvc    = pageMessageSvc;
            _helperSvc         = helperService;
            _serviceSvc        = serviceSvc;
            _providerSvc       = Providersvc;
            _logger            = logger;
            _companySvc        = companyService;
            _userservice       = userService;
            _rolesvc           = roleService;
            _emailSender       = emailSender;
            _mailSettings      = mailSettings;

            _enrolleeService = enrolleeService;
        }
Пример #19
0
 public EnrolleesController(
     IEnrolleeService enrolleeService,
     IAgreementService agreementService,
     IEnrolleeSubmissionService enrolleeSubmissionService,
     IAdminService adminService,
     IBusinessEventService businessEventService,
     IEmailService emailService,
     IDocumentService documentService,
     IRazorConverterService razorConverterService)
 {
     _enrolleeService           = enrolleeService;
     _agreementService          = agreementService;
     _enrolleeSubmissionService = enrolleeSubmissionService;
     _adminService          = adminService;
     _businessEventService  = businessEventService;
     _emailService          = emailService;
     _documentService       = documentService;
     _razorConverterService = razorConverterService;
 }
Пример #20
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;
 }
Пример #21
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;
 }
Пример #22
0
 public ConnectCarePageController(IPlanService planService, IUniquePageService uniquepageService,
                                  IPageMessageSvc pageMessageSvc, IHelperService helperService,
                                  IServicesService serviceSvc, IProviderService Providersvc, ILogAdminService logger,
                                  ITariffService tariffService, ICompanyService companyService,
                                  IEnrolleeService enrolleeService, ISmsService smsSvc, IUserChat UserChat, IClaimService claimservice, IUserService userservice)
 {
     _planService       = planService;
     _uniquePageService = uniquepageService;
     _pageMessageSvc    = pageMessageSvc;
     _helperSvc         = helperService;
     _serviceSvc        = serviceSvc;
     _providerSvc       = Providersvc;
     _logger            = logger;
     _tariffSvc         = tariffService;
     _companyService    = companyService;
     _enrolleeService   = enrolleeService;
     _smsservice        = smsSvc;
     _chatservice       = UserChat;
     _claimsvc          = claimservice;
     _userservice       = userservice;
     serv = new ServiceReference1.WebServiceSoapClient();
 }
Пример #23
0
 public SubmissionService CreateService(
     IHttpContextAccessor httpContext               = null,
     IAccessTermService accessTermService           = null,
     ISubmissionRulesService submissionRulesService = null,
     IBusinessEventService businessEventService     = null,
     IEmailService emailService       = null,
     IEnrolleeService enrolleeService = null,
     IEnrolleeProfileVersionService enrolleeProfileVersionService = null,
     IPrivilegeService privilegeService = null)
 {
     return(new SubmissionService(
                TestDb,
                httpContext ?? A.Fake <IHttpContextAccessor>(),
                accessTermService ?? A.Fake <IAccessTermService>(),
                submissionRulesService ?? A.Fake <ISubmissionRulesService>(),
                businessEventService ?? A.Fake <IBusinessEventService>(),
                emailService ?? A.Fake <IEmailService>(),
                enrolleeService ?? A.Fake <IEnrolleeService>(),
                enrolleeProfileVersionService ?? A.Fake <IEnrolleeProfileVersionService>(),
                privilegeService ?? A.Fake <IPrivilegeService>()
                ));
 }
Пример #24
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;
 }
Пример #25
0
 public EnrolleController(IEnrolleeService enrolleeService, IFacultyService facultyService, IStudentStatusService studentStatusService)
 {
     _enrolleeService      = enrolleeService;
     _facultyService       = facultyService;
     _studentStatusService = studentStatusService;
 }
Пример #26
0
 public EnrolleesController(IEnrolleeService enrolleeService)
 {
     _enrolleeService = enrolleeService;
 }
Пример #27
0
 public StatementController(IEnrolleeService enrolleeService, IStatementService statementService, IStudentStatusService studentStatusService)
 {
     _enrolleeService      = enrolleeService;
     _statementService     = statementService;
     _studentStatusService = studentStatusService;
 }
Пример #28
0
 public FeedbackController(IEnrolleeService adminService, IFeedbackService feedbackService)
 {
     _enrolleeService = adminService;
     _feedbackService = feedbackService;
 }
Пример #29
0
 public HealthcheckController(IEnrolleeService enrolleeService)
 {
     _enrolleeService = enrolleeService;
 }
 public EnrolmentCertificatesController(IEnrolleeService enrolleeService, IEnrolmentCertificateService enrolmentCertificateService)
 {
     _enrolleeService    = enrolleeService;
     _certificateService = enrolmentCertificateService;
 }