Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yoyomooc
asp.net-core-mvc-2019
Issues
#3
Closed
Open
Created
Jan 19, 2021
by
SinnoSong
@sinno
homecontroller中Create的post方法,创建学生后重定向到Details页面传的ID不应该是id而应该是EncryptedId,因为Details方法的形参已经修改了
return RedirectToAction("Details", new { id = newStudent.Id });