public SearchController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Application.jq.Service.ISearchService ipowSearch, iPow.Domain.Repository.ISightInfoRepository sightInfo) : base(work) { if (ipowSearch == null) { throw new ArgumentNullException("searchService is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightInfoRepository is null"); } searchService = ipowSearch; sightInfoRepository = sightInfo; }