public Task <WeatherForecast[]> Remove(WeatherForecast dataItem)
 {
     return(Task.FromResult(RemoveInternal(dataItem)));
 }
 public Task <WeatherForecast[]> Update(WeatherForecast dataItem, IDictionary <string, object> newValue)
 {
     return(Task.FromResult(UpdateInternal(dataItem, newValue)));
 }
 WeatherForecast[] RemoveInternal(WeatherForecast dataItem)
 {
     Forecasts.Remove(dataItem);
     return(Forecasts.ToArray());
 }