title: Mvc binding issue from json to enum (customexception from int to enum)
body: <p>i have this problem: i use the json to send data to server.
  All works fine but the problem is a situation like:</p>
  
  <pre><code>public enum SexType
  {
    Male : 0,
    Female : 1
  }
  
  class People{
    public SexType Sex {get;set;}
  }
  </code></pre>
  
  <p>That create me the json:</p>
  
  <pre><code>{"Sex" : 0}
  </code></pre>
  
  <p>When i send back to server, this fill the ModelStateError with this issue:
  The parameter conversion from type 'System.Int32' to type 'SexType' failed because no type converter can convert between these types.</p>
  
  <p>But if i wrap the value with ' all work well:</p>
  
  <pre><code>{"Sex" : '0'}
  </code></pre>
  
  <p>Anyone have the same problem?</p>
  
  <p>Tnx for all!</p>