public ProductsController(IProductsCatalogService catalogService) { this.catalogService = catalogService; }
public Shop(IProductsCatalogService productsCatalogService, IOrdersService ordersService) { _id = Guid.NewGuid(); _productsCatalogService = productsCatalogService; _ordersService = ordersService; }