For the sake of brevity and easier refactoring, I feel like I shouldn't have method calls spanning 2 lines of code just because their signature contains 10+ arguments. I feel like I should wrap them in an object.
Is that a bad idea to do in a ASP.NET Core HTTP GET action method?
We are talking about an endpoint, accepting simple parameters (of type int, string etc). No collections, arrays, or anything complicated like that.
Is there a better approach to this problem?