コード例 #1
0
        public async Task <IActionResult> GetImdbGreaterThanSeven()
        {
            var result = await _serieService.GetImdbGreaterThanSeven();

            var series = JsonSerializer.Serialize(result.Data, new JsonSerializerOptions
            {
                ReferenceHandler = ReferenceHandler.Preserve
            });

            return(Json(series));
        }