Пример #1
0
 public Task <WeatherForecast[]> Remove(WeatherForecast dataItem)
 {
     return(Task.FromResult(RemoveInternal(dataItem)));
 }
Пример #2
0
 public Task <WeatherForecast[]> Update(WeatherForecast dataItem, Dictionary <string, object> newValue)
 {
     return(Task.FromResult(UpdateInternal(dataItem, newValue)));
 }
Пример #3
0
 WeatherForecast[] RemoveInternal(WeatherForecast dataItem)
 {
     Forecasts.Remove(dataItem);
     return(Forecasts.ToArray());
 }