title: Modelbinding multiple properties SignalR
body: <p>I've been trying out SignalR in a new project and I've ran into an issue when it comes to modelbinding.</p>
  <p>My Javascript hub:</p>
  <pre><code>state.socket?.invoke(SocketInvoke.submitAnswer, 1, 2, 3, [4,5,6]);
  </code></pre>
  <p>My method:</p>
  <pre><code>public async Task SubmitAnswer(int gameId, int quizId, int questionId, int[] optionIds)
  </code></pre>
  <p>But this does not seem to work. I tried changing it up to:</p>
  <pre><code> const answer = {
              GameId: 1,
              QuizId: 2,
              QuestionId: 3,
              OptionIds: [4,5,6]
          }
  state.socket?.invoke(SocketInvoke.submitAnswer, answer);
  
  public async Task SubmitAnswer(SubmittedAnswerViewModel answer)
  
  public class SubmittedAnswerViewModel
  {
   public int GameId { get; set; }
   public int QuizId { get; set; }
   public int QuestionId { get; set; }
   public int[] OptionIds { get; set; }
       
  }
  </code></pre>
  <p>I also tried changing the OptionIds to a List, as well as just turning it to an int to see if the array of ints was the issue, but it was not. In the end I was wondering if I had a typo somewhere in my calls, so I changed the params to just a single string and that successfully binded.</p>
  <p>Does anyone know why this wont bind? I feel like the answer is probably obvious, but I just can't see it.</p>
  <p>Thanks for reading and thank you for your help.</p>