title: .NET Core API is giving 404 from angular app
body: <p>I'm trying to call the method in the controller by URL, but I getting a 404 error.
  What am I doing wrong? 
  API End Pint: <code>http://localhost:5000/Home/HomeTest</code></p>
  
  <pre class="lang-cs prettyprint-override"><code>/*.net core web-api*/
  namespace MyApp.Controllers
  {
      Route("api/[controller]")]
      [ApiController]
      public class HomeController : ControllerBase
      {
          public HomeController()
          {}
  
          [Route("api/[controller]/[action]")]
          [HttpGet]
          public string HomeTest()
          {
              return "123";
          }
  }
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>/*angular*/
  export class HomeComponent implements OnInit {
      constructor(private http: HttpClient) {}
      ngOnInit()
      {
          let test = "";
          test = "http://localhost:5000/api/Home/HomeTest";
          this.http.get(test).subscribe((data: any) =&gt; console.log(data), (err: any) =&gt; console.log(err));
      }
  }
  </code></pre>