Skip to content

Instantly share code, notes, and snippets.

@ChouJustice
Created May 11, 2022
Embed
What would you like to do?
public IActionResult List()
{
var products = productList;
return View(products);
}
public IActionResult Detail()
{
var product = productList.First();
return View(product);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment