public async Task <CounterV1> WriteCounterAsync(string correlationId, CounterV1 counter)
 {
     using (var timing = Instrument(correlationId))
     {
         return(await CallCommandAsync <CounterV1>(
                    "write_counter",
                    correlationId,
                    new
         {
             counter = counter
         }
                    ));
     }
 }
Пример #2
0
 public async Task <CounterV1> WriteCounterAsync(string correlationId, CounterV1 counter)
 {
     return(await Task.FromResult(new CounterV1()));
 }