Exemplo n.º 1
0
        public IActionResult SyncOverAsync(int num)
        {
            var dbl = calculationService.DoubleAsync(num).Result;

            var half = calculationService.HalveAsync(num).Result;

            return(Ok(dbl + half));
        }