示例#1
0
        public IActionResult GetById(long id)
        {
            var model = _estabelecimentoRepository.Find(id);

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

            return(new ObjectResult(model));
        }