// GET: Pais/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } var pai = _paisService.GetPai((int)id); if (pai == null) { return(HttpNotFound()); } return(View(pai)); }
// GET: Pais/Details/5 public ActionResult Details(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } var pai = _paisService.GetPai((int)id); if (pai == null) { return(HttpNotFound()); } return(View(pai)); }