title: IHTTPActionResult Ok<T>(T Content) gives HTTP/1.1 406 Not Acceptable
body: <p>When I write return OK() then it gives me 201 HTTPStatusCde. However when i am trying to get a response object in return, it gives me 406 error. Here var response is my custom schema in which i want a response</p>
  
  <pre><code>public IHttpActionResult Post(Order order)
      {
          if (!ModelState.IsValid)
          {
              return BadRequest(ModelState);
          }
          try
          {
              var response = this._orderRepository.AddReturnOrder(order);
              if (response != null)
                  return Ok(response);
  
              return NotFound();
          }
          catch(Exception ex)
          {
              return InternalServerError(ex);
          }       
  
      }
  </code></pre>