public IActionResult Details(int?id) { if (id == null) { return(NotFound()); } var autor = _repoDapper.GetById(id); if (autor == null) { return(NotFound()); } return(View(autor)); }
public IActionResult Details(int?id) { if (id == null) { return(NotFound()); } var autor = _repoDapper.GetById(id); if (autor == null) { return(NotFound()); } return(View(autor)); }