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