Since the OnGet fires first, keep the information stored locally in the page, then filter it on the OnPost. No need to fetch the data anew each time the user filters. That results in excessive network traffic. Network calls can slow down the response time.
Since the OnGet fires first, keep the information stored locally in the page, then filter it on the OnPost. No need to fetch the data anew each time the user filters. That results in excessive network traffic. Network calls can slow down the response time.
https://github.com/MoizSamee/IS7024/blob/868ed3650931b32d6b10993ef9ef37636d6575ed/Covinator/Covinator/Pages/PfizerVaccination.cshtml.cs#L90