예제 #1
0
 public BaseController()
 {
     container      = UrbanRFP.SimpleInjectorConfig.container;
     _contactFacade = container.GetInstance <ContactFacade>();
     _miscFacade    = container.GetInstance <MiscFacade>();
 }
예제 #2
0
 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));
 }