public ActionResult DeleteConfirmed(int id)
        {
            Adeudos_020118 adeudos_020118 = db.Adeudos_020118.Find(id);

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

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