public IActionResult OnPost() { Guest.WeddingNumber = userData.GetId(); userData.AddGuest(Guest); return(RedirectToPage("./GuestView")); }