public ReportingStepByStepController( IViewingService viewingService, ISearchViewService searchViewService, ICompareViewService compareViewService) { ViewingService = viewingService; SearchViewService = searchViewService; CompareViewService = compareViewService; }
public PrintableHtmlCreator() { _urlsCreator = new UrlsCreator(); _rootPathFinder = new RootPathFinder(); _rootStoragePath = _rootPathFinder.GetRootStoragePath(); _cachePath = _rootPathFinder.GetCachePath(); _viewingServiceCreator = new ViewingServiceCreator(); _viewingService = _viewingServiceCreator.GetViewingService(_rootStoragePath, _cachePath); }
public ViewingsController (IViewingRepo viewingRepo, IViewingService viewingService, ViewingViewModel viewingVM, SimpleErrorModel errorM) { _viewingRepo = viewingRepo; _viewingService = viewingService; model = viewingVM; errorModel = errorM; }
public ViewingController( IViewingService viewingService, IViewingPresenter viewingPresenter, ISearchPresenter searchPresenter, IComparePresenter comparePresenter, ILogger <ViewingController> logger, IWebService webService, ISharedBusinessLogic sharedBusinessLogic) : base( logger, webService, sharedBusinessLogic) { ViewingService = viewingService; ViewingPresenter = viewingPresenter; SearchPresenter = searchPresenter; ComparePresenter = comparePresenter; }
public ViewingController( IHttpCache cache, IHttpSession session, IViewingService viewingService, ISearchViewService searchViewService, ICompareViewService compareViewService, IOrganisationBusinessLogic organisationBusinessLogic, ISubmissionBusinessLogic submissionBusinessLogic, IObfuscator obfuscator, IDataRepository dataRepository, IWebTracker webTracker, AutoCompleteSearchService autoCompleteSearchService, IFileRepository fileRepository) : base(cache, session, dataRepository, webTracker) { ViewingService = viewingService; SearchViewService = searchViewService; CompareViewService = compareViewService; OrganisationBusinessLogic = organisationBusinessLogic; Obfuscator = obfuscator; SubmissionBusinessLogic = submissionBusinessLogic; this.autoCompleteSearchService = autoCompleteSearchService; this.fileRepository = fileRepository; }
public ViewingPresenter(IViewingService viewingService, ISharedBusinessLogic sharedBusinessLogic) { _viewingService = viewingService; _sharedBusinessLogic = sharedBusinessLogic; }