public IActionResult OnGet(int id)
 {
     Author = _authorDm.Find(id);
     return(Page());
 }
示例#2
0
 public IActionResult Detail(int id = 0)
 {
     return(id == 0 ? null : View(adm.Find(id)));
 }