public ActionResult Create(DMAConnectionString connectionString) { connectionString.DMAConnectionStringID = Guid.NewGuid(); db.DMAConnectionStrings.Add(connectionString); db.SaveChanges(); return RedirectToAction("Index"); }
public ActionResult Edit(DMAConnectionString connectionString) { db.UpdateEntity(db.DMAConnectionStrings, connectionString); return Edit(connectionString.DMAConnectionStringID); }