Example #1
0
 public WeatherForecastController(ILogger <WeatherForecastController> logger, IWeatherServiceAsync weatherServiceAsync, IWeatherService weatherService, IWeatherBusiness weatherBusiness)
 {
     _logger = logger;
     _weatherServiceAsync = weatherServiceAsync;
     _weatherService      = weatherService;
     _weatherBusines      = weatherBusiness;
 }
 public ApiController(IWeatherBusiness weatherBusiness)
 {
     _weatherBusiness = weatherBusiness;
 }