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