Exemplo n.º 1
0
        public ActionResult DeleteConfirmed(string id)
        {
            CSCOSHEQD cSCOSHEQD = db.CSCOSHEQDs.Find(id);

            db.CSCOSHEQDs.Remove(cSCOSHEQD);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
Exemplo n.º 2
0
 public ActionResult Edit([Bind(Include = "CONO,PRSCODE,MVTYPE,MVNO,MVID,INMVTYPE,INMVNO,INMVID,OUTMVTYPE,OUTMVNO,OUTMVID,MVDATE,SHAREAMT,STAMP")] CSCOSHEQD cSCOSHEQD)
 {
     if (ModelState.IsValid)
     {
         db.Entry(cSCOSHEQD).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.CONO = new SelectList(db.CSCOSHes, "CONO", "REM", cSCOSHEQD.CONO);
     return(View(cSCOSHEQD));
 }
Exemplo n.º 3
0
        // GET: CSCOSHEQDs/Details/5
        public ActionResult Details(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            CSCOSHEQD cSCOSHEQD = db.CSCOSHEQDs.Find(id);

            if (cSCOSHEQD == null)
            {
                return(HttpNotFound());
            }
            return(View(cSCOSHEQD));
        }
Exemplo n.º 4
0
        // GET: CSCOSHEQDs/Edit/5
        public ActionResult Edit(string id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            CSCOSHEQD cSCOSHEQD = db.CSCOSHEQDs.Find(id);

            if (cSCOSHEQD == null)
            {
                return(HttpNotFound());
            }
            ViewBag.CONO = new SelectList(db.CSCOSHes, "CONO", "REM", cSCOSHEQD.CONO);
            return(View(cSCOSHEQD));
        }