title: Post method returns 404 in Asp.net core Web API Controller
body: <p>Routes code below: </p>
  
  <pre><code>app.UseMvc(routes =&gt;
              {
                  routes.MapRoute(
                      name: "default",
                      template: "{controller=Home}/{action=Index}/{id?}");
              });
  </code></pre>
  
  <p>Controller code below : </p>
  
  <pre><code>// POST api/values
          [HttpPost]
          public void Post([FromBody]Employee employee)
          {
              employeeManager.CreateAsync(employee);
          }
  </code></pre>
  
  <p>All other methods working except the post method. </p>
  
  <p>call from angular component : </p>
  
  <pre><code> onSubmit(employeeItems: any) {        
          console.log(employeeItems);
          this.getData();
          var headers = new Headers();
          headers.append('Content-Type', 'application/json; charset=utf-8');
          this.http.post('api/Employee/Post', employeeItems, { headers: headers }).subscribe();
          this.createEmployeeFlag = false;
      }
  </code></pre>
  
  <blockquote>
    <p>I tried even from Postman, but no luck.</p>
  </blockquote>