protected async Task OnNextClick() => await OnPageChange.InvokeAsync(PageIndex + 1);
protected async Task OnPreviousClick() => await OnPageChange.InvokeAsync(PageIndex - 1);
private async Task ChangePage(int currentIndex) { await OnPageChange.InvokeAsync(currentIndex); PageIndex = currentIndex; }