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