public UserCatalogProvider(IContextProvider contextProvider, IStateProvider stateProvider) { _catalogsApi = new CatalogsApi(contextProvider); _catalogsRepository = new CatalogsRepository(); _createCatalogFlow = new CreateCatalogFlow(contextProvider, stateProvider); }
public PostLoginController() { _routes = new Routes(); var contextProvider = new HttpContextProvider(); _usersApi = new UsersApi(contextProvider); _createCatalogFlow = new CreateCatalogFlow(contextProvider, new CookieStateProvider()); _applicationSettings = new ApplicationSettings(); _appLinksApi = new AppLinksApi(); }