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