public string Fizz() { _logger.LogInformation("Hey, I should say Fizz before calling the method"); var result = _fizzBuzzService.Fizz(); _logger.LogInformation("Hey, I should say again Fizz after calling the method"); return(result); }
public IActionResult Buzz() { return(Ok(_fizzBuzzService.Fizz())); }