Exemple #1
0
        public ActionResult DeleteConfirmed(int id)
        {
            CANCELADO_SIS_Adeudos cANCELADO_SIS_Adeudos = db.CANCELADO_SIS_Adeudos.Find(id);

            db.CANCELADO_SIS_Adeudos.Remove(cANCELADO_SIS_Adeudos);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
Exemple #2
0
 public ActionResult Edit([Bind(Include = "Id,Adeudo,Clave,NumeroDeCuenta,Recargo,Multa,año,DescuentoGeneral,Bimestre1,Bimestre2,Bimestre3,Bimestre4,Bimestre5,Bimestre6,CondonacionGeneral,CondonacionMulta,CondonacionRecargo,BimestresPagados")] CANCELADO_SIS_Adeudos cANCELADO_SIS_Adeudos)
 {
     if (ModelState.IsValid)
     {
         db.Entry(cANCELADO_SIS_Adeudos).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(cANCELADO_SIS_Adeudos));
 }
Exemple #3
0
        // GET: CANCELADO_SIS_Adeudos/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            CANCELADO_SIS_Adeudos cANCELADO_SIS_Adeudos = db.CANCELADO_SIS_Adeudos.Find(id);

            if (cANCELADO_SIS_Adeudos == null)
            {
                return(HttpNotFound());
            }
            return(View(cANCELADO_SIS_Adeudos));
        }