title: Assign Value In Base Controller From Post Request In ASP.Net core web API
body: <p>I have many controllers which are dependent on one variable which is let's say projectId.</p>
  
  <p>So on every request of all methods I have to parse projectId as below. so is it possible to get this value in base controller variable and use it directly for all methods. I found some actionexecuting and initialize way, but they were examples in .net, I could not manage to get in asp.net core web API. </p>
  
  <pre><code>public void Save([FromBody]JObject data)
          {
              new SaveMethod((int)data["projectId"])
                  .Save((string)data["otherData"]);
          }
  </code></pre>