public WeatherReportDummyDataService(IConfiguration configuration, IWeatherStationDataService weatherStationDataService) : base(configuration, null) { this.RecordConfiguration = new RecordConfigurationData() { RecordName = "WeatherStation", RecordDescription = "Weather Station", RecordListName = "WeatherStation", RecordListDecription = "Weather Stations" }; this.GetDummyRecords(); this.stationService = weatherStationDataService; }
public WeatherStationController(ILogger <WeatherStationController> logger, IWeatherStationDataService dataService) { this.DataService = dataService; this.logger = logger; }
public WeatherStationControllerService(NavigationManager navmanager, IConfiguration appconfiguration, IWeatherStationDataService DataService) : base(appconfiguration, navmanager) { this.Service = DataService; this.DefaultSortColumn = "ID"; }