Razor Pages On Server Validation returning for without some fields
问题 I'm having an issue with a server side validation with Razor Pages (ASP.Net Core 2.0) I have a page that creates a record http://localhost:56876/Entries/Create?employeeID=112345 my code behind file for the OnGet looks like: [BindProperty] public EntryLog EntryLog { get; set; } public Employee Employee{ get; set; } public string empID { get; set; } public IActionResult OnGet(string employeeID) { empID = employeeID; // for Selects for lookup tables ViewData["ReasonId"] = new SelectList(_context