From 1c19d20403295e1be1b0cdb0b62966a32a8d1a3c Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 26 Apr 2021 13:05:13 +0200 Subject: [PATCH] Aggiunto pager x negoziazioni e baskets --- SHERPA.BBM.UI/Pages/Baskets.razor | 13 ++++++++++--- SHERPA.BBM.UI/Pages/Negotiations.razor | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/SHERPA.BBM.UI/Pages/Baskets.razor b/SHERPA.BBM.UI/Pages/Baskets.razor index 58e5071..4ffcaf1 100644 --- a/SHERPA.BBM.UI/Pages/Baskets.razor +++ b/SHERPA.BBM.UI/Pages/Baskets.razor @@ -44,8 +44,14 @@ } - @@ -62,8 +68,9 @@ baskets = await BBMService.BasketsGetAsync(numRecord); } - protected async Task ForceReload() + protected async Task ForceReload(int newNum) { + numRecord = newNum; baskets = await BBMService.BasketsGetAsync(numRecord); } diff --git a/SHERPA.BBM.UI/Pages/Negotiations.razor b/SHERPA.BBM.UI/Pages/Negotiations.razor index 9c6651b..394dafa 100644 --- a/SHERPA.BBM.UI/Pages/Negotiations.razor +++ b/SHERPA.BBM.UI/Pages/Negotiations.razor @@ -47,8 +47,14 @@ } - @@ -65,8 +71,9 @@ negotiations = await BBMService.NegotiationsGetAsync(numRecord); } - protected async Task ForceReload() + protected async Task ForceReload(int newNum) { + numRecord = newNum; negotiations = await BBMService.NegotiationsGetAsync(numRecord); }