public ListingService(IUnitOfWork uow, IGitHubAPI github, IListingPreprocessFactory preprocessFact, IFileFactory fileFact) { this.uow = uow; this.github = github; var list = uow.ValueRepository.GetStopwords(); ghPreprocess = (GitHubPreprocess)preprocessFact.GetPreprocess(ListingSource.Github, fileFact.GetStopwordsFile(DocumentType.Set, list)); }
public HomeController(GitHubAPI gitHub) { this.gitHub = gitHub; }