public IActionResult GetFusion(int?year) { if (!year.HasValue) { year = DateTime.Now.Year; } var result = fusionChart.Fusion(year.Value); return(Ok(result)); }
public IActionResult Fusion() { var result = fusionChart.Fusion(2019); return(View()); }