public ActionResult DeleteConfirmed(int id)
        {
            MPI_SRFIRO_DETAIL mPI_SRFIRO_DETAIL = db.MPI_SRFIRO_DETAIL.Find(id);

            db.MPI_SRFIRO_DETAIL.Remove(mPI_SRFIRO_DETAIL);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
 public ActionResult Edit([Bind(Include = "ID_PK,SRFIRO_FK,TEXT_ID,TEXT")] MPI_SRFIRO_DETAIL mPI_SRFIRO_DETAIL)
 {
     if (ModelState.IsValid)
     {
         db.Entry(mPI_SRFIRO_DETAIL).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(mPI_SRFIRO_DETAIL));
 }
        public ActionResult Create([Bind(Include = "ID_PK,SRFIRO_FK,TEXT_ID,TEXT")] MPI_SRFIRO_DETAIL mPI_SRFIRO_DETAIL)
        {
            if (ModelState.IsValid)
            {
                db.MPI_SRFIRO_DETAIL.Add(mPI_SRFIRO_DETAIL);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(mPI_SRFIRO_DETAIL));
        }
        // GET: MPI_SRFIRO_DETAIL/Edit/5
        public ActionResult Edit(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            MPI_SRFIRO_DETAIL mPI_SRFIRO_DETAIL = db.MPI_SRFIRO_DETAIL.Find(id);

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