public ActionResult EditComment(EditCommentData model) { DatabaseContext.ChangeDatabaseComment(model.DatabaseServer, model.DatabaseName, User.Identity.Name, model.DatabaseComment); return RedirectToAction("Index"); }
public ActionResult EditCommentGetDetails(FormCollection data) { EditCommentData model = new EditCommentData() { DatabaseComment = data["DatabaseComment"], DatabaseServer = data["Server"], DatabaseName = data["Database"] }; return View(model); }