Beispiel #1
0
        public IActionResult Get([FromRoute][SwaggerParameter("Id do periodo.")] int id)
        {
            var model = _repoPeriod.Get(id);

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