示例#1
0
        public IActionResult Get(int id)
        {
            var show = repo.Find(id);

            return(Ok(new
            {
                status = "success",
                message = show != null ? "Found 1 result" : "Found 0 results",
                data = new { show = show }
            }));
        }