public CarsController(ICarDataProvider carDataProvider, ICartDataProvider cartDataProvider, IAirportDataProvider airportDataProvider, ICartCookieProvider cartCookieProvider) { _carDataProvider = carDataProvider; _cartDataProvider = cartDataProvider; _airportDataProvider = airportDataProvider; _cartCookieProvider = cartCookieProvider; }
public FlightsController(IFlightDataProvider flightDataProvider, ICartDataProvider cartDataProvider, IAirportDataProvider airportDataProvider, ICartCookieProvider cartCookieProvider) { _flightDataProvider = flightDataProvider; _cartDataProvider = cartDataProvider; _airportDataProvider = airportDataProvider; _cartCookieProvider = cartCookieProvider; }
public HotelsController(IHotelDataProvider hotelDataProvider, ICartDataProvider cartDataProvider, IAirportDataProvider airportDataProvider, ICartCookieProvider cartCookieProvider) { _hotelDataProvider = hotelDataProvider; _cartDataProvider = cartDataProvider; _airportDataProvider = airportDataProvider; _cartCookieProvider = cartCookieProvider; }
public CartController(ICartDataProvider cartDataProvider, ICartCookieProvider cartCookieProvider, IItineraryController itineraryController, IPurchaseService purchaseService, CartDisplayProvider cartDisplayProvider) { _cartDataProvider = cartDataProvider; _cartCookieProvider = cartCookieProvider; _itineraryController = itineraryController; _purchaseService = purchaseService; _cartDisplayProvider = cartDisplayProvider; }
public CartViewModel(ICartDataProvider _dataProvider, IEventAggregator eventAggregator) { InitializeCollections(); this._dataProvider = _dataProvider; _eventAggregator = eventAggregator; _eventAggregator.GetEvent <ProductAddedToCartEvent>().Subscribe(OnItemAdded); _eventAggregator.GetEvent <ClearCartAndCatalogEvent>().Subscribe(OnClearCart); RemoveItemFromCart = new DelegateCommand(OnRemoveExecute, OnRemoveCanExecute); ClearCart = new DelegateCommand(OnClearExecute, OnClearCanExecute); }
public ItineraryPurchaseServiceClient(IHttpClientFactory httpClientFactory, ILogger <ItineraryDataServiceClient> logger, ICartDataProvider cartDataProvider) { _logger = logger; _httpClient = httpClientFactory.CreateClient("ItineraryService"); _cartDataProvider = cartDataProvider; }
public FulfillmentService(ICartDataProvider cartDataProvider, IItineraryDataProvider itineraryDataProvider) { _cartDataProvider = cartDataProvider; _itineraryDataProvider = itineraryDataProvider; }
public CartController(ICartDataProvider cartDataProvider, IProductDataProvider productDataProvider, UserManager <User> userManager) { _cartDataProvider = cartDataProvider; _productDataProvider = productDataProvider; this.userManager = userManager; }
public CartRepository(ICartDataProvider cartDataProvider) => _cartDataProvider = cartDataProvider;