public ActionResult Cancel(Data.Subject sub) { using (SimpleDataBase db = new SimpleDataBase()) { if (sub == null) { db.Entry(sub).State = EntityState.Modified; db.SaveChanges(); return(View()); } } return(View(sub)); }
public ActionResult Marketplace(Data.Subject sub) { return(View()); }