public IActionResult OnPost()
 {
     if (!ModelState.IsValid)
     {
         return(Page());
     }
     catalog.AddPizza(Pizza);
     return(RedirectToPage("GetAllPizzas"));
 }
 public IActionResult OnPost()
 {
     catalog.AddPizza(Pizza);
     return(RedirectToPage("GetAllPizzas"));
 }