If i have a rest api with a GET endpoint such as
\users
i also have a UserSearchModel class for example
public class UserSearchModel
{
public string firstName {get;set;}
public string lastName {get;set;}
public string userCode {get;set;}
}
is it possible to have a controller action such as
public async... GetUsers(UserSearchModel searchParams)
without sending the data in request body, if i send in query string instead will the model binding still work?