This question is because in my MVC project with ASP.NET CORE 2.0, I can not add the [FromUri] attribute to my drivers.
[FromUri] attribute
I tried using li
I think you might be looking for [FromQuery]: https://docs.microsoft.com/en-us/aspnet/core/mvc/models/model-binding#customize-model-binding-behavior-with-attributes
[FromQuery]
[FromUri] is used in Asp.Net WebApi 2, not asp.net core
[FromUri]