public SpecificationsController( ISpecificationsService specService, ISpecificationsSearchService specSearchService, IFundingService fundingService) { Guard.ArgumentNotNull(specService, nameof(specService)); Guard.ArgumentNotNull(specSearchService, nameof(specSearchService)); Guard.ArgumentNotNull(fundingService, nameof(fundingService)); _specService = specService; _specSearchService = specSearchService; _fundingService = fundingService; }
public SpecificationsController( ISpecificationsService specService, ISpecificationsSearchService specSearchService, IWebHostEnvironment hostingEnvironment, ISpecificationsReportService specificationsReportService, ISpecificationIndexingService specificationIndexingService) { Guard.ArgumentNotNull(specService, nameof(specService)); Guard.ArgumentNotNull(specSearchService, nameof(specSearchService)); Guard.ArgumentNotNull(hostingEnvironment, nameof(hostingEnvironment)); Guard.ArgumentNotNull(specificationsReportService, nameof(specificationsReportService)); Guard.ArgumentNotNull(specificationIndexingService, nameof(specificationIndexingService)); _specService = specService; _specSearchService = specSearchService; _hostingEnvironment = hostingEnvironment; _specificationsReportService = specificationsReportService; _specificationIndexingService = specificationIndexingService; }