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