/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='data'> /// </param> public static void SaveKeyValues(this IMetricsAPI operations, IList <KeyValueModel> data = default(IList <KeyValueModel>)) { operations.SaveKeyValuesAsync(data).GetAwaiter().GetResult(); }
public async Task SaveKeyValuesAsync(params KeyValueModel[] keyValues) { await _service.SaveKeyValuesAsync(keyValues); }