title: Where should I get the user id from the token for the business logic?
body: <p><strong>Description:</strong>
  I was facing some design issues with the authorization mechanism in my ASP .NET Framework WebAPI 2 project. The application which I am working on majorly has 3 parts</p>
  
  <ol>
  <li>Controllers - Endpoints</li>
  <li>Services - Where shared business logic is written</li>
  <li>DAL - DB calls are written</li>
  </ol>
  
  <p>It is always a practice to get the user id (any user identification properties) from the authentication mechanism (here JWT claims).</p>
  
  <p><strong>Problem Statement</strong>
  Where should the code for getting the user id to be written? Should it be written in the Controllers and then passed down to the Service layer or should it be accessed in the Service levels directly?</p>
  
  <p>Thanks in advance.</p>