What does it mean when saying "passing in something" in the following?| ASP.NET Core

I was reading a book about Learning ASP.NET Core API when I run to a part saying:

We call GetCommandByID on our repository passing in the Id from our route, storing the result in a local variable.

Here is some text I thought you'd better have: enter image description here

Then there are some explanations related to the picture above:

  1. The route to this controller action includes an additional route parameter, in this case the Id of the resource we want to retrieve; we can specify this in the HttpGet attribute as shown.
  2. The controller action requires an id to be passed in as a parameter (this comes from our route; see point 1) and returns an ActionResult of type Command.
  3. We call GetCommandByID on our repository passing in the Id from our route, storing the result in a local variable.
  4. We check to see if our result is null and, if so, return a 404 Not Found result.
  5. Otherwise if we have a Command object, we return a 200 OK and the result.

Now, I don't exactly know what the highlighted part above in number 3 mean? Could I rewrite number 3 as follow:

  1. We call GetCommandByID on our repository which is submitting the Id from our route, storing the result in a local variable.

If not, then Could anyone explain what the number 3 is saying to me?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum