public ProducersControllerTests() { breadcumbService = A.Fake<BreadcrumbService>(); producerSearcher = A.Fake<ISearcher<ProducerSearchResult>>(); weeeClient = A.Fake<IWeeeClient>(); cache = A.Fake<IWeeeCache>(); }
public ProducersController(BreadcrumbService breadcrumb, ISearcher<ProducerSearchResult> producerSearcher, Func<IWeeeClient> apiClient, IWeeeCache cache) { this.breadcrumb = breadcrumb; this.producerSearcher = producerSearcher; this.apiClient = apiClient; this.cache = cache; }
public HomeController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb, CsvWriterFactory csvWriterFactory, ConfigurationService configService) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; this.csvWriterFactory = csvWriterFactory; this.configurationService = configService; }
public HomeController(BreadcrumbService breadcrumb, IWeeeCache cache) { this.breadcrumb = breadcrumb; this.cache = cache; }
public UserController(Func<IWeeeClient> apiClient, IWeeeCache cache, BreadcrumbService breadcrumb) { this.apiClient = apiClient; this.cache = cache; this.breadcrumb = breadcrumb; }