Exemplo n.º 1
0
        public async Task <IActionResult> Get([FromRoute] Guid technologyId)
        {
            var technology = await _technologyService.GetTechnologyByIdAsync(technologyId);

            if (technology == null)
            {
                return(NotFound());
            }

            return(Ok(_mapper.Map <TechnologyResponse>(technology)));
        }