title: Multiple actions were found that match the request C#
body: <p>I am trying to point to my action, basically I have 1 controller that has different methods, I want to point to the different methods, everything worked well when I had 1 method called create, now I have 1 called <code>createDocument</code> (ignore best practice REST from now). So every time I need to point to the <code>createDocument</code> it fails and I get this (Postman).</p>
  
  <pre><code>{
      "Message": "An error has occurred.",
      "ExceptionMessage": "Multiple actions were found that match the request: \r\nCreate on type server.Controllers.DocumentController\r\nCreateDocument on type server.Controllers.DocumentController",
      "ExceptionType": "System.InvalidOperationException",
      "StackTrace": "   at System.Web.Http.Controllers.ApiControllerActionSelector.ActionSelectorCacheItem.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.Controllers.ApiControllerActionSelector.SelectAction(HttpControllerContext controllerContext)\r\n   at System.Web.Http.ApiController.ExecuteAsync(HttpControllerContext controllerContext, CancellationToken cancellationToken)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.&lt;SendAsync&gt;d__1.MoveNext()"
  }
  </code></pre>
  
  <p><strong>I just have this in my controller:</strong></p>
  
  <pre><code>public async Task&lt;IHttpActionResult&gt; CreateDocument([FromBody]List&lt;DocumentDetails&gt; details)
  {
      return Ok(200);
  }
  </code></pre>
  
  <p>It doesn't enter the controller I tried to debug it, the other method that I have works well it enters without problem.</p>
  
  <pre><code>public async Task&lt;IHttpActionResult&gt; Create([FromBody]AppDocument document)
          {
  </code></pre>
  
  <p><strong>my route configuration is like this:</strong></p>
  
  <pre><code>namespace server
  {
      public class RouteConfig
      {
          public static void RegisterRoutes(RouteCollection routes)
          {
              routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
  
              routes.MapRoute(
                  name: "Default",
                  url: "{controller}/{action}/{id}",
                  defaults: new { action = "Index", id = UrlParameter.Optional }
              );
          }
      }
  }
  </code></pre>
  
  <p>I suspect it has something to do with the parameter I am receiving, I receive a jsonArray like this:</p>
  
  <pre><code>[
    {
      "key": "Table",
      "rows": 1,
      "cols": 1,
      "cells": 1
    },
    {
      "key": "Paragraph",
      "text": "asda",
      "fontSize": 14
    },
    {
      "key": "Paragraph",
      "text": "asda",
      "fontSize": 14
    },
    {
      "key": "Paragraph",
      "text": "asda",
      "fontSize": 14
    }
  ]
  </code></pre>
  
  <p><strong>and for that I created 2 models the first that has a simple list</strong></p>
  
  <pre><code>namespace server.Models
  {
      public class DocumentDetails
      {
          public int Id { get; set; }
          public List&lt;DocumentAtributes&gt; atributes { set; get; }
      }
  }
  </code></pre>
  
  <p><strong>the second that has the possible props inside the list elements</strong></p>
  
  <pre><code>namespace server.Models
  {
      public class DocumentAtributes
      {
          public int Id { get; set; }
          public String key { get; set; }
          public String rows { get; set; }
          public String cols { get; set; }
          public String cells { get; set; }
          public String fontSize { get; set; }
          public String width { get; set; }
          public String height { get; set; }
          public String base64 { get; set; }
          public String align { get; set; }
          public String text { get; set; }
      }
  }
  </code></pre>