@model FixPostWeb.Models.PostModel .... @using (Html.BeginForm("Index", "FixPost", FormMethod.Post)) { ... <div class="update-field"> @Html.TextAreaFor(model => model.OriginalPost) </div> <div class="update-field"> @Html.TextAreaFor(model => model.ConvertedPost) </div> }
public ActionResult FixPost(PostModel post) { .... post.OriginalPost = "aaaaaaaaa"; post.ConvertedPost = "aaaaaaaaa"; return View(post); ...
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)