// GET: Home/Delete/5 public ActionResult Delete(int?id) { if (id == null) { return(new HttpStatusCodeResult(System.Net.HttpStatusCode.BadRequest)); } var emp = CapaNegocio.GetEmpleados(id.Value); return(View(emp)); }
// GET: Home/Edit/5 public ActionResult Edit(int id) { var emplear = CapaNegocio.GetEmpleados(id); return(View(emplear)); }