public ActionResult DeleteConfirmed(string id) { SIGNING sIGNING = db.SIGNING.Find(id); db.SIGNING.Remove(sIGNING); db.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Edit([Bind(Include = "WRITERID,NAME,STARTTIME,ENDTIME")] SIGNING sIGNING) { if (ModelState.IsValid) { db.Entry(sIGNING).State = EntityState.Modified; db.SaveChanges(); return(RedirectToAction("Index")); } return(View(sIGNING)); }
public ActionResult Create([Bind(Include = "WRITERID,NAME,STARTTIME,ENDTIME")] SIGNING sIGNING) { if (ModelState.IsValid) { db.SIGNING.Add(sIGNING); db.SaveChanges(); return(RedirectToAction("Index")); } return(View(sIGNING)); }
// GET: SIGNINGs/Edit/5 public ActionResult Edit(string id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } SIGNING sIGNING = db.SIGNING.Find(id); if (sIGNING == null) { return(HttpNotFound()); } return(View(sIGNING)); }
private String Step(S s, String inp) { Char c = PreStep(ref inp); if (SIGNING.Contains(c)) { if (c == '+') { return("" + Step(new SV(), inp)); } else { return(c.ToString() + Step(new SV(), inp)); } } return(Step(new SV(), c + inp)); }