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);
 }
Esempio n. 3
0
 public DashboardFlow(IContextProvider contextProvider,
     IStateProvider stateProvider)
 {
     _userContextProvider = new UserContextProvider(stateProvider, contextProvider);
     _productsApi = new ProductsApi(contextProvider);
     _productsRepository = new ProductsRepository();
     _userCatalogProvider = new UserCatalogProvider(contextProvider, stateProvider);
 }