Exemplo n.º 1
0
        public async Task <IActionResult> GetElementAsync([FromRoute] Guid id)
        {
            _logger.LogInformation($"(Element '{id}') Element fetch requested");

            var element = await _elementRepository.GetAsync(id);

            return(Ok(element));
        }