Example #1
0
        public async Task <ActionResult> Get()
        {
            _logger.LogInformation($"Entered {nameof(Service1Controller)}:{nameof(Get)}");

            _logger.LogInformation("Calling Service2 from Service1");
            await _service2.GetAsync();

            _logger.LogInformation("Called Service2 from Service1");

            return(Ok());
        }