public ActionResult DeleteConfirmed(int id) { SIS_DetallesDeTerrenoEjecucion sIS_DetallesDeTerrenoEjecucion = db.SIS_DetallesDeTerrenoEjecucion.Find(id); db.SIS_DetallesDeTerrenoEjecucion.Remove(sIS_DetallesDeTerrenoEjecucion); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Edit([Bind(Include = "Id,Clave,NumeroDeCuenta,Region,Manzana,Predio,Condominio,Año,AreaConstruccion,UsoDeSuelo,IdTipoDeConstruccion,Municipio,Edificio,TipoOperacion,DescripcionOperacion,ClaveOrigen,NumeroDeCuentaOrigen,ClaveCatastralOrigen,Estatus")] SIS_DetallesDeTerrenoEjecucion sIS_DetallesDeTerrenoEjecucion) { if (ModelState.IsValid) { db.Entry(sIS_DetallesDeTerrenoEjecucion).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(sIS_DetallesDeTerrenoEjecucion)); }
// GET: SIS_DetallesDeTerrenoEjecucion/Delete/5 public ActionResult Delete(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } SIS_DetallesDeTerrenoEjecucion sIS_DetallesDeTerrenoEjecucion = db.SIS_DetallesDeTerrenoEjecucion.Find(id); if (sIS_DetallesDeTerrenoEjecucion == null) { return(HttpNotFound()); } return(View(sIS_DetallesDeTerrenoEjecucion)); }