public BasketViewModelService(IRepository <Basket> basketRepository, IRepository <CatalogItem> itemRepository, IUriComposer uriComposer, IBasketQueryService basketQueryService) { _basketRepository = basketRepository; _uriComposer = uriComposer; _basketQueryService = basketQueryService; _itemRepository = itemRepository; }
public BasketController( ICommandBus commandBus, IBasketQueryService basketQueryService, IUnauthorizedBasketQueryService unauthorizedBasketQueryService, ICookieQueryService cookieQueryService) { _commandBus = commandBus; _basketQueryService = basketQueryService; _cookieQueryService = cookieQueryService; _unauthorizedBasketQueryService = unauthorizedBasketQueryService; }