/// <summary> /// ActionFilter that implements the Highlight functionality /// </summary> public HighlightSearch() { var container = (IUnityContainer)GlobalConfiguration. Configuration.DependencyResolver.GetService(typeof(IUnityContainer)); _highlighter = container.Resolve <IHighlighter>();; _helper = container.Resolve <IJokesHelper>();; }
public JokeBusiness(IRepositoryFactory repFactory, JokesHelper helper) { _repFactory = repFactory; _helper = helper; }