コード例 #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());
 }