コード例 #1
0
 public ActionResult Create(DMAConnectionString connectionString)
 {
     connectionString.DMAConnectionStringID = Guid.NewGuid();
     db.DMAConnectionStrings.Add(connectionString);
     db.SaveChanges();
     return RedirectToAction("Index");
 }
コード例 #2
0
 public ActionResult Edit(DMAConnectionString connectionString)
 {
     db.UpdateEntity(db.DMAConnectionStrings, connectionString);
     return Edit(connectionString.DMAConnectionStringID);
 }