public IActionResult OnPost() { if (!ModelState.IsValid) { return(Page()); } _footerService.AddFooter(Footer); return(RedirectToPage("Index")); }
public IActionResult OnPost() { if (!ModelState.IsValid) { return(Page()); } _footerService.AddFooter(Footer); return(RedirectToPage("Index")); }