public ProductScoreCalculator(IContextProvider contextProvider, IStateProvider stateProvider) { _usersApi = new UsersApi(contextProvider); _catalogsApi = new CatalogsApi(contextProvider); _userCatalogProvider = new UserCatalogProvider(contextProvider, stateProvider); }
public CatalogItemsFlow(IContextProvider contextProvider, IStateProvider stateProvider) { _userContextProvider = new UserContextProvider(stateProvider, contextProvider); _userCatalogProvider = new UserCatalogProvider(contextProvider, stateProvider); _catalogItemsApi = new CatalogItemsApi(contextProvider); }
public DashboardFlow(IContextProvider contextProvider, IStateProvider stateProvider) { _userContextProvider = new UserContextProvider(stateProvider, contextProvider); _productsApi = new ProductsApi(contextProvider); _productsRepository = new ProductsRepository(); _userCatalogProvider = new UserCatalogProvider(contextProvider, stateProvider); }