public IActionResult Index() { var charts = _repository.GetAllCharts(); var viewModel = new ChartViewModel() { Charts = charts }; return(View(viewModel)); }
public IActionResult Index() { var charts = _repository.GetAllCharts(); var viewModel = new ChartViewModel() { Charts = charts }; return(View(viewModel)); }