[FromQuery]
the attribute processes the request parameters, i.e. key-value pairs after "?" in the URI.
[FromRoute]
the attribute processes route parameters going up to "?" in the URI, i.e. in the path parameters.
, "orders/{id}"
, "id" - , - "orders/123? showHistory = true", "showHistory" .
[FromUri]
Web API [FromQuery]
ASP.NET Core MVC.