title: Passing list of int to Web API from RestSharp Client
body: <p>When I use code below from REST Sharp I am not able to pass <code>listOfSelectedTicketsIds</code> it always null.</p>
  
  <p><strong>Request of Rest Sharp .net Client</strong></p>
  
  <pre><code> var _stDeveloperApi = new RestClient("http://127.0.0.1/");
              var url = string.Format("api/v1/SignalR/MultiClickMode");
              var listOfSelectedTicketsIds = new List&lt;int&gt; { 2, 3 };
              var request = new RestRequest(url, Method.GET);
              request.AddParameter("listOfSelectedTicketsIds", listOfSelectedTicketsIds, ParameterType.GetOrPost);
              var response = _stDeveloperApi.Execute(request);
  </code></pre>
  
  <p><strong>Web API Method</strong></p>
  
  <pre><code>[HttpGet]
          public HttpResponseMessage MultiClickMode(List&lt;int&gt; listOfSelectedTicketsIds)
          { 
              var response = new HttpResponseMessage();
  
              try
              {
  
              }
              catch (Exception ex)
              {
                  response = Request.CreateResponse(HttpStatusCode.InternalServerError);
              }
  
              return response;
          }
  </code></pre>