public IActionResult DeleteConfirmed(int id) { var page = _pageLogic.GetById(id); _pageLogic.Delete(page); return(RedirectToAction(nameof(Index))); }