title: Own Enum in route param, is it possible?
body: <p>I have a simple Api function:</p>
  
  <pre><code>// POST: api/Cultivation/Sow/1/5
  [HttpGet("Sow/{grain}/{id}")]
  public IActionResult Sow(Grain grain, int id) { }
  </code></pre>
  
  <p>My enum looks like this:</p>
  
  <pre><code>public enum Grain
  {
      None,
      Rice,
      Corn,
      Oats
  }
  </code></pre>
  
  <p>My question is, is it possible to get <code>Grain</code> or any enum from Route? When Yes, how to do it? </p>
  
  <p>If No, how to "find" enum by int in elegant way, without if statements etc? Because if myWebapi cant take <code>enums</code>, it is easy to do by simple <code>int</code></p>