コード例 #1
0
 public CreateFundedNursingCareUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager dbManager,
                                       ICreatePackageResourceUseCase createPackageResourceUseCase)
 {
     _carePackageGateway           = carePackageGateway;
     _dbManager                    = dbManager;
     _createPackageResourceUseCase = createPackageResourceUseCase;
 }
 public GetServiceUserPackagesUseCase(ICarePackageGateway carePackageGateway, IServiceUserGateway serviceUserGateway, ICarePackageHistoryGateway carePackageHistoryGateway, ILogger <GetServiceUserPackagesUseCase> logger)
 {
     _carePackageGateway        = carePackageGateway;
     _serviceUserGateway        = serviceUserGateway;
     _carePackageHistoryGateway = carePackageHistoryGateway;
     _logger = logger;
 }
コード例 #3
0
 public EndCareChargeUseCase(ICarePackageReclaimGateway gateway, IDatabaseManager dbManager
                             , ICarePackageHistoryGateway carePackageHistoryGateway, ICarePackageGateway carePackageGateway)
 {
     _gateway   = gateway;
     _dbManager = dbManager;
     _carePackageHistoryGateway = carePackageHistoryGateway;
     _carePackageGateway        = carePackageGateway;
 }
 public UpdateCarePackageUseCase(IMapper mapper, IDatabaseManager dbManager, ICarePackageGateway carePackageGateway,
                                 ICarePackageSettingsGateway carePackageSettings, IEnsureSingleActivePackageTypePerUserUseCase ensureSingleActivePackageTypePerUserUseCase,
                                 ICreatePackageResourceUseCase createPackageResourceUseCase)
 {
     _mapper              = mapper;
     _dbManager           = dbManager;
     _carePackageGateway  = carePackageGateway;
     _carePackageSettings = carePackageSettings;
     _ensureSingleActivePackageTypePerUserUseCase = ensureSingleActivePackageTypePerUserUseCase;
     _createPackageResourceUseCase = createPackageResourceUseCase;
 }
コード例 #5
0
 public AssignCarePlanUseCase(
     IGetServiceUserUseCase getServiceUserUseCase, ICarePackageGateway carePackageGateway,
     IEnsureSingleActivePackageTypePerUserUseCase ensureSingleActivePackageTypePerUserUseCase,
     IDatabaseManager dbManager, IFileStorage fileStorage)
 {
     _getServiceUserUseCase = getServiceUserUseCase;
     _carePackageGateway    = carePackageGateway;
     _ensureSingleActivePackageTypePerUserUseCase = ensureSingleActivePackageTypePerUserUseCase;
     _dbManager   = dbManager;
     _fileStorage = fileStorage;
 }
コード例 #6
0
 public PayrunGenerator(
     IHttpContextAccessor httpContextAccessor, IInvoiceGateway invoiceGateway,
     ICarePackageGateway carePackageGateway, IFundedNursingCareGateway fundedNursingCareGateway,
     IPayrunGateway payrunGateway, ILogger <PayrunGenerator> logger)
 {
     _httpContextAccessor      = httpContextAccessor;
     _invoiceGateway           = invoiceGateway;
     _carePackageGateway       = carePackageGateway;
     _fundedNursingCareGateway = fundedNursingCareGateway;
     _payrunGateway            = payrunGateway;
     _logger = logger;
 }
 public GetApprovableCarePackagesUseCase(ICarePackageGateway gateway)
 {
     _gateway = gateway;
 }
コード例 #8
0
 public GetCarePackageReclaimsUseCase(ICarePackageReclaimGateway carePackageReclaimGateway, ICarePackageGateway carePackageGateway)
 {
     _carePackageReclaimGateway = carePackageReclaimGateway;
     _carePackageGateway        = carePackageGateway;
 }
コード例 #9
0
 public UpdateProvisionalCareChargeUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager dbManager, IMapper mapper)
 {
     _carePackageGateway = carePackageGateway;
     _dbManager          = dbManager;
     _mapper             = mapper;
 }
 public GetCarePackageHistoryUseCase(ICarePackageGateway carePackageGateway, ICarePackageHistoryGateway carePackageHistoryGateway)
 {
     _carePackageGateway        = carePackageGateway;
     _carePackageHistoryGateway = carePackageHistoryGateway;
 }
コード例 #11
0
 public GetCarePackageBrokerageUseCase(ICarePackageGateway carePackageGateway)
 {
     _carePackageGateway = carePackageGateway;
 }
 public CreatePackageResourceUseCase(ICarePackageGateway gateway, IDatabaseManager dbManager, IFileStorage fileStorage)
 {
     _gateway     = gateway;
     _dbManager   = dbManager;
     _fileStorage = fileStorage;
 }
 public GetServiceUserMasterSearchUseCase(IResidentsService residentsService, ICarePackageGateway carePackageGateway)
 {
     _residentsService   = residentsService;
     _carePackageGateway = carePackageGateway;
 }
コード例 #14
0
 public UpsertCarePackageBrokerageUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager databaseManager, IMapper mapper)
 {
     _carePackageGateway = carePackageGateway;
     _databaseManager    = databaseManager;
     _mapper             = mapper;
 }
コード例 #15
0
 public CarePackageGatewayTests()
 {
     _carePackageGateway = new CarePackageGateway(Context);
 }
コード例 #16
0
 public CreateCarePackageUseCase(IDatabaseManager dbManager, ICarePackageGateway carePackageGateway, IServiceUserGateway serviceUserGateway)
 {
     _dbManager          = dbManager;
     _carePackageGateway = carePackageGateway;
     _serviceUserGateway = serviceUserGateway;
 }
 public CreateProvisionalCareChargeUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager dbManager)
 {
     _carePackageGateway = carePackageGateway;
     _dbManager          = dbManager;
 }
コード例 #18
0
 public EnsureSingleActivePackageTypePerUserUseCase(ICarePackageGateway carePackageGateway)
 {
     _carePackageGateway = carePackageGateway;
 }
コード例 #19
0
 public GetPackagePaymentHistoryUseCase(ICarePackageGateway carePackageGateway, IPayRunInvoiceGateway payRunInvoiceGateway, IPayRunGateway payRunGateway)
 {
     _carePackageGateway   = carePackageGateway;
     _payRunInvoiceGateway = payRunInvoiceGateway;
     _payRunGateway        = payRunGateway;
 }
コード例 #20
0
 public GetCarePackageSummaryUseCase(ICarePackageGateway carePackageGateway)
 {
     _carePackageGateway = carePackageGateway;
 }
 public SubmitCarePackageUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager dbManager)
 {
     _carePackageGateway = carePackageGateway;
     _dbManager          = dbManager;
 }
 public UpsertCareChargesUseCase(ICarePackageGateway carePackageGateway, IDatabaseManager dbManager, IMapper mapper)
 {
     _carePackageGateway = carePackageGateway;
     _dbManager          = dbManager;
     _mapper             = mapper;
 }