public AddorRemoveFavouriteInBasketCommandHandler(ILogger<AddorRemoveFavouriteInBasketCommandHandler> logger, IApprenticeshipFavouritesBasketStore basketStore, IProviderApiClient providerApiClient, IMediator mediator)
 {
     _basketStore = basketStore;
     _providerApiClient = providerApiClient;
     _mediator = mediator;
     _logger = logger;
 }
 public GetBasketHandler(
     ILogger <GetBasketHandler> logger,
     IApprenticeshipFavouritesBasketStore basketStore,
     IGetStandards getStandards,
     IGetFrameworks getFrameworks,
     IGetProviderDetails getProvider)
 {
     _logger        = logger;
     _basketStore   = basketStore;
     _getStandards  = getStandards;
     _getFrameworks = getFrameworks;
     _getProvider   = getProvider;
 }
Example #3
0
 public SaveApprenticeshipFavouriteBasketCommandHandler(
     ILogger <SaveApprenticeshipFavouriteBasketCommandHandler> logger,
     IFavouritesReadRepository readRepository,
     IFavouritesWriteRepository writeRepository,
     IAccountApiClient accountApiClient,
     IApprenticeshipFavouritesBasketStore basketStore)
 {
     _logger           = logger;
     _readRepository   = readRepository;
     _writeRepository  = writeRepository;
     _accountApiClient = accountApiClient;
     _basketStore      = basketStore;
 }
Example #4
0
 public RemoveBasketHandler(IApprenticeshipFavouritesBasketStore basketStore)
 {
     _basketStore = basketStore;
 }