public ActionResult DeleteConfirmed(short id)
        {
            BONDAPPLICATIONPROGRESS bondapplicationprogress = db.BONDAPPLICATIONPROGRESSes.Find(id);

            db.BONDAPPLICATIONPROGRESSes.Remove(bondapplicationprogress);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        //
        // GET: /BondApplicationProgress/Details/5

        public ActionResult Details(short id = 0)
        {
            BONDAPPLICATIONPROGRESS bondapplicationprogress = db.BONDAPPLICATIONPROGRESSes.Find(id);

            if (bondapplicationprogress == null)
            {
                return(HttpNotFound());
            }
            return(View(bondapplicationprogress));
        }
 public ActionResult Edit(BONDAPPLICATIONPROGRESS bondapplicationprogress)
 {
     if (ModelState.IsValid)
     {
         db.Entry(bondapplicationprogress).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.BONDERSLNO = new SelectList(db.BONDERs, "BONDERSLNO", "BONDLICENSENO", bondapplicationprogress.BONDERSLNO);
     ViewBag.BSNO       = new SelectList(db.BONDSTATUS, "BSNO", "REFNO", bondapplicationprogress.BSNO);
     return(View(bondapplicationprogress));
 }
        //
        // GET: /BondApplicationProgress/Edit/5

        public ActionResult Edit(short id = 0)
        {
            BONDAPPLICATIONPROGRESS bondapplicationprogress = db.BONDAPPLICATIONPROGRESSes.Find(id);

            if (bondapplicationprogress == null)
            {
                return(HttpNotFound());
            }
            ViewBag.BONDERSLNO = new SelectList(db.BONDERs, "BONDERSLNO", "BONDLICENSENO", bondapplicationprogress.BONDERSLNO);
            ViewBag.BSNO       = new SelectList(db.BONDSTATUS, "BSNO", "REFNO", bondapplicationprogress.BSNO);
            return(View(bondapplicationprogress));
        }