Witam:
Następujący link: https://localhost:44376/Reservations/Filter?SearchEmail=%C5%9Awidwa&SearchRoom=&SearchReservation=&SearchVoucher=&SearchDateFrom=&SearchDateTo=
zostaje wysłany do akcji:
[ValidateAntiForgeryToken]
[Authorize]
[HttpGet]
public async Task<IActionResult> Filter(string SearchEmail, string SearchRoom, string SearchReservation, string SearchVoucher, DateTime? SearchDateFrom, DateTime? SearchDateTo)
{
_logger.LogInformation(SearchEmail);
Dlaczego otrzymuję błąd 400? Próbowałem przy każdym argumencie dopisać według poradników [FromQuery]
ale na nic to się zdało. Macie może jakieś pomysły?