public HomeController(IPoetBusiness poetBusiness, IHostingEnvironment environment, IPoetOfPoemsBusiness ofPoemsBusiness, IPoemBusiness poemBusiness, ISearchBusiness searchBusiness)
 {
     _poetBusiness    = poetBusiness;
     _environment     = environment;
     _ofPoemsBusiness = ofPoemsBusiness;
     _poemBusiness    = poemBusiness;
     _searchBusiness  = searchBusiness;
 }
Exemple #2
0
 public GeneratorPoetOfPoem(
     IHostingEnvironment environment,
     IPoetOfPoemsBusiness ofPoemsBusiness,
     IPoetBusiness poetBusiness,
     IPoemBusiness poemBusiness) : base(poemBusiness)
 {
     _environment     = environment;
     _ofPoemsBusiness = ofPoemsBusiness;
     _poetBusiness    = poetBusiness;
 }