Exemplo n.º 1
0
        public IActionResult GetFusion(int?year)
        {
            if (!year.HasValue)
            {
                year = DateTime.Now.Year;
            }
            var result = fusionChart.Fusion(year.Value);

            return(Ok(result));
        }
Exemplo n.º 2
0
        public IActionResult Fusion()
        {
            var result = fusionChart.Fusion(2019);

            return(View());
        }