示例#1
0
 public ActionResult Index()
 {
     AutomotiveShopDbContext context = new AutomotiveShopDbContext();
     return View(context.Categories?.ToList());
 }