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

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