示例#1
0
        public async Task <IActionResult> ObterPorId(Guid id)
        {
            var reg = await _service.ObterPorIdView(id);

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

            return(Ok(reg));
        }