title: Web Api Not recognizing RestClient framework
body: <p>I am trying to do a test post to a 3rd party web api.
  The code how to post was provided by the documentation from 3rd party.</p>
  <pre><code>'RestClient' is a namespace but is used like a type
  The type or namespace name 'RestRequest' could not be found (are you missing a using directive or an assembly reference?)
  The type or namespace name 'IRestResponse' could not be found (are you missing a using directive or an assembly reference?)
  The name 'ParameterType' does not exist in the current context
  The name 'Method' does not exist in the current context
  </code></pre>
  <p>The method I am working with:</p>
  <pre><code>public void CreatePanelists (Newtonsoft.Json.Linq.JObject data)
  {
  
      Parameters parameters = JsonConvert.DeserializeObject&lt;Parameters&gt;(data.ToString())
      IList&lt;Panelist&gt; panelistList = parameters.panelists;
      string id = parameters.id;
  
      var client = new RestClient(&quot;https://3rdparty.com/v2/events/5893/atendees&quot;);
      var request = new RestRequest(Method.POST);
      request.AddHeader(&quot;content-type&quot;, &quot;application/json&quot;);
      request.AddHeader(&quot;authorization&quot;, &quot;Bearer vJRMZ92lsOE1sKGVF7_4zCezTjxO2RoFeOVGULSJS2_dRhgU5QfZeKqGaoS0ogPv0WISEuZ1RcNzJDUsv27uGA&quot;);
      request.AddParameter(&quot;application/json&quot;, &quot;{\&quot;attendees\&quot;:[{\&quot;name\&quot;:\&quot;Mary\&quot;,\&quot;email\&quot;:\&quot;maryjkdfdsgfshdgf@jdfdkjdglfk.jkfgdj\&quot;},{\&quot;name\&quot;:\&quot;Mike\&quot;,\&quot;email\&quot;:\&quot;dfdsgfsdhf@jkgfdgfkdhgfdjg.fkjgdf\&quot;}]}&quot;, ParameterType.RequestBody);
      IRestResponse response = client.Execute(request);
  }
  </code></pre>
  <p>I installed RestClient 4.0.0 but that did not remove the errors.</p>
  <p>I am not using .Net not .net Core. What am I missing?</p>
  <p>First time developing this type of project, please pardon if my technical language is not correct.</p>
  <p>Your help is much appreciated.</p>
  <p>Thank you,
  Erasmo</p>
  <p>UPDATE - I was able to install RestSharp Version 106.11.4.0, and RestClient Version 2.5.0.6.</p>
  <p>The only error that persists is</p>
  <pre><code>'RestClient' is a namespace but is used like a type
  </code></pre>