コード例 #1
0
ファイル: ShowsController.cs プロジェクト: borozky/cineplex
        public IActionResult Get()
        {
            var shows = repo.All();

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