public ActionResult Index(Comment model) { var op = new AddCommentOperation(model.Username, model.Message); op.ExcecuteTransaction(); return(RedirectToAction("Index")); }
public ActionResult SendFeedback(Comment model) { var op = new AddCommentOperation(model); op.ExcecuteTransaction(); return(Json("Отправлено")); }