示例#1
0
 public async Task <IActionResult> SaveRegistration(BusinessInfoFormModel model)
 {
     if (ModelState.IsValid)
     {
         return(Redirect(nameof(Index)));
     }
     return(View(nameof(BusinessRegistration), model));
 }
示例#2
0
        public async Task <IActionResult> BusinessRegistration()
        {
            BusinessInfoFormModel model = new BusinessInfoFormModel();

            return(View(model));
        }