public ActionResult Edit(int id) { var bll = new ClienteBll(); var cliente = bll.GetObject(id); if (cliente == null) { return(HttpNotFound()); } return(View(cliente)); }