I think you might be looking for [FromQuery]:
https://learn.microsoft.com/en-us/aspnet/core/mvc/models/model-binding#customize-model-binding-behavior-with-attributes
[FromUri] is used in Asp.Net WebApi 2, not asp.net core
I think you might be looking for [FromQuery]:
https://learn.microsoft.com/en-us/aspnet/core/mvc/models/model-binding#customize-model-binding-behavior-with-attributes
[FromUri] is used in Asp.Net WebApi 2, not asp.net core