public CategoriesWebPart() { _categoriesRepo = WebPartUnityContainer.Current.Container.Resolve<ICategoriesRepository>(); _booksRepo = WebPartUnityContainer.Current.Container.Resolve<IBooksRepository>(); _externalSearchService = WebPartUnityContainer.Current.Container.Resolve<IExternalSearchService>(); }
public HomepageController(IMapperProvider mapperProvider, IExternalSearchService externalSearchService) : base(mapperProvider) { _externalSearchService = externalSearchService; }