Beispiel #1
0
        public IActionResult Apply()
        {
            EstaApplyViewModel estaApplyViewModel = new EstaApplyViewModel();

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