How can I pass the value of the CategoryId to asp-route-id using the anchor Tag <a>. HomeController. 1. ViewBag.Categories = db.Categories.ToList(); ...
確定! 回上一頁