// GET: Cliente/Details/5 public ActionResult Details(String id) { if (id.ToString() == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Cliente c = cc.Find(id); if (c == null) { return(HttpNotFound()); } return(View(c)); }
// GET: Cliente/Details/5 public ActionResult Details(String id) { if (id.ToString() == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } Cliente c = cc.Find(id); if (c == null) { return(HttpNotFound()); } return(View(c)); }