public WeatherForecastControllerService(NavigationManager navmanager, IConfiguration appconfiguration, IWeatherForecastDataService weatherForecastDataService) : base(appconfiguration, navmanager) { this.Service = weatherForecastDataService; this.DefaultSortColumn = "WeatherForecastID"; }
public WeatherForecastController(ILogger <WeatherForecastController> logger, IWeatherForecastDataService weatherForecastDataService) { this.DataService = weatherForecastDataService; this.logger = logger; }