示例#1
0
        public async Task <IActionResult> IncrementAsync()
        {
            await _counterService.IncrementAsync();

            return(Ok());
        }
示例#2
0
 public Task <long> PostAsync()
 {
     return(_counterService.IncrementAsync());
 }