コード例 #1
0
        public IActionResult GetFusion(int?year)
        {
            if (!year.HasValue)
            {
                year = DateTime.Now.Year;
            }
            var result = fusionChart.Fusion(year.Value);

            return(Ok(result));
        }
コード例 #2
0
        public IActionResult Fusion()
        {
            var result = fusionChart.Fusion(2019);

            return(View());
        }