title: Url.Action is wrong with Knockout + Asp.Net MVC Core 2.2
body: <p>I am trying to generate a table containing a link for each row with knockout and Asp.Net Core 2.2. Actually I want the whole row to be clickable later, for this example I added it as a table field though.</p>
  
  <p>The path for the <code>@Url.Action("MyAction", "My")</code> gets generated wrongly though. Both of them are completely empty. Neither the controller, nor the action appear in the generated link.</p>
  
  <pre><code>&lt;tbody data-bind="foreach: searchResults"&gt;
    &lt;tr&gt;
      &lt;td data-bind="text: id"&gt;&lt;/td&gt;
      &lt;td&gt;
        &lt;a data-bind="attr: { href: '@Url.Action("MyAction", "My")/' + id}"&gt;
          Click
        &lt;/a&gt;
      &lt;/td&gt;
      &lt;td data-bind="text: name"&gt;&lt;/td&gt;
      &lt;td data-bind="text: date"&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>"My" is the controller "MyController". "MyAction" is the name of the action method I want to call on click. I do have another controller, for a different path. The one I am trying to use is this:</p>
  
  <pre><code>[Route("api/[controller]")]
  [ApiController]
  public class MyController : ControllerBase
  {
      private readonly IWebServiceFactory webServiceFactory;
  
      public MyController(IWebServiceFactory webServiceFactory)
      {
          this.webServiceFactory = webServiceFactory;
      }
  
      // GET: api/MyAction/{GUID}
      [HttpGet("{id:Guid}")]
      public async Task&lt;IActionResult&gt; MyAction(Guid id)
      {
          var result = await webServiceFactory.GetWebService().GetFileAsync(id);
          var memory = new MemoryStream();
          await result .Stream.CopyToAsync(memory);
          memory.Position = 0;
          return File(memory, "application/unknown", result.FileName);
      }
  }
  </code></pre>
  
  <p>I thought maybe it is because the controller route does not use any action, but even after adding the action to the route, the results were the same.</p>
  
  <p>I am using Mvc with the default route in <code>Startup.cs</code>:</p>
  
  <pre><code>app.UseMvcWithDefaultRoute();
  </code></pre>
  
  <p>This is the actual output I am getting:</p>
  
  <pre><code>&lt;a data-bind="attr: { href: '/' + id }" href="/173a4cec-a258-4ebb-d28e-08d6cee0966c"&gt;Click&lt;/a&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>