title: FromBody attribute
body: <p>I have a method as described below which get user as parameter.
  To send the user parameter values, I am using postman request/response tool. 
  My question is, if the request already have user parameter in body request  (see at the postman print screen ) why do I need to directly specify  [FromBody] in action controller? When this attribute removed,  parameter send with null values.</p>
  
  <p>Thanks</p>
  
  <p><a href="https://i.stack.imgur.com/EpDVR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EpDVR.png" alt="postman request for register action"></a></p>
  
  <pre><code>[HttpPost("register")]
   public IActionResult Register([FromBody]User user)
   {
    //.. code  here 
  
   }
  
  
  public class User
  {
      public string Name { get; set; }
      public string  Password { get; set; }
  }
  </code></pre>