public IActionResult Apply() { EstaApplyViewModel estaApplyViewModel = new EstaApplyViewModel(); estaApplyViewModel.Date = DateTime.Now; return(View(estaApplyViewModel)); }
public IActionResult Process (EstaApplyViewModel estaApplyViewModel) { //perform validation //store user in Db //redirect to ... return(RedirectToAction("RegistrationSuccess")); }