[HttpPost ] public ActionResult Index(FormCollection model) { LocationModel location = new LocationModel(); location.Address = model["Address"]; location .Email=model["Email"]; location.Part = model["Part"]; location.Unit = model["units"] + "-" + model["Cites"]; ViewData["location"] = location; return RedirectToAction("Index", "Customer"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)