public async Task <IActionResult> OnPostDeleteItem(long itemId) { var item = await _service.GetItem(itemId); item = await _service.DeleteItem(itemId); return(RedirectToPage("/BoardPages/ViewBoard", new { id = item.Column.Board.Id })); }