public IActionResult Index(SoftwareLicenceAgreementModel model) { if (ModelState.IsValid) { return(RedirectToAction("Download")); } return(View("Index", model)); }
public IActionResult Index() { var model = new SoftwareLicenceAgreementModel() { SoftwareProductName = "Some really Great Software" }; return(View("Index", model)); }
public IActionResult About() { ViewData["Message"] = "Your application description page."; var model = new SoftwareLicenceAgreementModel() { SoftwareProductName = "Some really Great Software" }; return(View(model)); }