private static Task ImportFrameworksFunding(IProviderCommitmentsDbContext db, DataTable standardsFundingDataTable) { var standardsFunding = new SqlParameter("frameworksFunding", SqlDbType.Structured) { TypeName = "FrameworksFunding", Value = standardsFundingDataTable }; return(db.ExecuteSqlCommandAsync("EXEC ImportFrameworksFunding @frameworksFunding", standardsFunding)); }
private static Task ImportStandards(IProviderCommitmentsDbContext db, DataTable standardsDataTable) { var standards = new SqlParameter("standards", SqlDbType.Structured) { TypeName = "Standards", Value = standardsDataTable }; return(db.ExecuteSqlCommandAsync("EXEC ImportStandards @standards", standards)); }
public EditApprenitceshipValidationService(IProviderCommitmentsDbContext context, IMediator mediator, IOverlapCheckService overlapCheckService, IReservationValidationService reservationValidationService, IAcademicYearDateProvider academicYearDateProvider, ICurrentDateTime currentDateTime) { _context = context; _overlapCheckService = overlapCheckService; _reservationValidationService = reservationValidationService; _academicYearDateProvider = academicYearDateProvider; _mediator = mediator; _currentDateTime = currentDateTime; }
public TrainingProgrammeLookup(IProviderCommitmentsDbContext dbContext) { _dbContext = dbContext; }
public OrderedApprenticeshipSearchService(IProviderCommitmentsDbContext dbContext) { _dbContext = dbContext; }
public ImportFrameworksJob(ILogger <ImportStandardsJob> logger, IApiClient apiClient, IProviderCommitmentsDbContext providerContext) { _logger = logger; _apiClient = apiClient; _providerContext = providerContext; }
public GetApprenticeshipsFilterValuesQueryHandler(IProviderCommitmentsDbContext dbContext, ICacheStorageService cacheStorageService) { _dbContext = dbContext; _cacheStorageService = cacheStorageService; }