Esempio n. 1
0
 public ActionResult WindowEditPartial(Window wnd)
 {
     db.Entry(wnd).State = EntityState.Modified;
     db.SaveChanges();
     return RedirectToAction("WindowSH");
 }
Esempio n. 2
0
 public ActionResult WindowCreate(Window wnd)
 {
     db.Windows.Add(wnd);
     db.SaveChanges();
     return RedirectToAction("WindowSH");
 }