// GET: Product public async Task <IActionResult> Index() { ViewData["datasource"] = _datasource; return(View(await _ds.ToListAsync())); }
// GET: Product public async Task <IActionResult> Index() { ViewData["datasource"] = _datasource; return(View(await _ds.ToListAsync())); }