In the following example, only the specified properties of the Instructor model are bound when the OnPostmethod is called:
[HttpPost]
public IActionResult OnPost([Bind("LastName,FirstMidName,HireDate我在asp.netCore3.0和asp.net Core2.1上进行了测试,得
我正在尝试通过必须由自定义TagHelper建立的特殊标记将列出的项目划分为页面 namespace SportWeb.Models.ViewModels public class PagingInfo public int TotalItems { get; set; } public int CurrentPage { get; set; }
public int TotalP