Ejemplo n.º 1
0
        public IActionResult Get()
        {
            var shows = repo.All();

            return(Ok(new
            {
                status = "success",
                message = $"Found {shows.Count()} results",
                data = new { shows = shows }
            }));
        }