Beispiel #1
0
        public IActionResult GetById(int id)
        {
            var plano = _planoRepository.Find(id);

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

            return(new ObjectResult(plano));
        }