コード例 #1
0
 public DeleteDraftApprenticeshipHandler(
     Lazy <ProviderCommitmentsDbContext> dbContext,
     ILogger <DeleteDraftApprenticeshipHandler> logger,
     ICohortDomainService cohortDomainService)
 {
     _dbContext           = dbContext;
     _logger              = logger;
     _cohortDomainService = cohortDomainService;
 }
 public UpdateDraftApprenticeshipHandler(
     ILogger <UpdateDraftApprenticeshipHandler> logger,
     IOldMapper <UpdateDraftApprenticeshipCommand, DraftApprenticeshipDetails> draftApprenticeshipDetailsMapper,
     ICohortDomainService cohortDomainService)
 {
     _logger = logger;
     _draftApprenticeshipDetailsMapper = draftApprenticeshipDetailsMapper;
     _cohortDomainService = cohortDomainService;
 }
 public AddDraftApprenticeshipCommandHandler(
     Lazy <ProviderCommitmentsDbContext> dbContext,
     ILogger <AddDraftApprenticeshipCommandHandler> logger,
     IOldMapper <AddDraftApprenticeshipCommand, DraftApprenticeshipDetails> draftApprenticeshipDetailsMapper,
     ICohortDomainService cohortDomainService)
 {
     _dbContext = dbContext;
     _logger    = logger;
     _draftApprenticeshipDetailsMapper = draftApprenticeshipDetailsMapper;
     _cohortDomainService = cohortDomainService;
 }
コード例 #4
0
 public AddCohortWithOtherPartyHandler(
     Lazy <ProviderCommitmentsDbContext> dbContext,
     IEncodingService encodingService,
     ILogger <AddCohortWithOtherPartyHandler> logger,
     ICohortDomainService cohortDomainService)
 {
     _dbContext           = dbContext;
     _logger              = logger;
     _cohortDomainService = cohortDomainService;
     _encodingService     = encodingService;
 }
 public SendCohortCommandHandler(ICohortDomainService cohortDomainService)
 {
     _cohortDomainService = cohortDomainService;
 }
 public ApproveCohortCommandHandler(ICohortDomainService cohortDomainService)
 {
     _cohortDomainService = cohortDomainService;
 }