public BaseController() { container = UrbanRFP.SimpleInjectorConfig.container; _contactFacade = container.GetInstance <ContactFacade>(); _miscFacade = container.GetInstance <MiscFacade>(); }
public SearchController(ISearchFacade searchFacade, IRfpRequestFacade rfpFacade, IMiscFacade miscFacade) { _searchFacade = searchFacade ?? throw new ArgumentNullException(nameof(searchFacade)); _rfpFacade = rfpFacade ?? throw new ArgumentNullException(nameof(rfpFacade)); _miscFacade = miscFacade ?? throw new ArgumentNullException(nameof(miscFacade)); }