I want to have a method (api action method) that looks like:

```
public List<User> GetUserList(int userId, string commaSeperatedListOfIds)
{
...

}

```

From what I understand, a web api controller will automatically convert the json request and map the parameters, so is it best to create a custom class as a parameter like:

```
public class UserListRequest
{
    public int UserId {get;set;}
    public string CsvListOfIds {get;set;}
}

```