public IActionResult OnPostDelete(string[] ids) { foreach (var id in ids) { _articleService.DeleteObject(_ => _.Id == Convert.ToInt32(id)); } return(RedirectToPage("./Index")); }