public ActionResult DeleteConfirmed(int id)
        {
            RollerBaseStandard rollerBaseStandard = db.RollerBaseStandards.Find(id);

            db.RollerBaseStandards.Remove(rollerBaseStandard);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "RollerBaseStandardID,Standard")] RollerBaseStandard rollerBaseStandard)
 {
     if (ModelState.IsValid)
     {
         db.Entry(rollerBaseStandard).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(rollerBaseStandard));
 }
        public ActionResult Create([Bind(Include = "RollerBaseStandardID,Standard")] RollerBaseStandard rollerBaseStandard)
        {
            if (ModelState.IsValid)
            {
                db.RollerBaseStandards.Add(rollerBaseStandard);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(rollerBaseStandard));
        }
        // GET: RollerBaseStandards/Delete/5
        public ActionResult Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            RollerBaseStandard rollerBaseStandard = db.RollerBaseStandards.Find(id);

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