Пример #1
0
 public DisasterController(IDisasterService disasterService, ICityService cityService, ITownService townService, IWebHostEnvironment hostEnvironment)
 {
     _disasterService = disasterService;
     _cityService     = cityService;
     _townService     = townService;
     _hostEnvironment = hostEnvironment;
 }
Пример #2
0
 public HomeController(ILogger <HomeController> logger, IDisasterService disasterService, ICityService cityService, ITownService townService)
 {
     _logger          = logger;
     _disasterService = disasterService;
     _cityService     = cityService;
     _townService     = townService;
 }