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