concept AccountController in category asp.net

This is an excerpt from Manning's book ASP.NET Core in Action.
Luckily, ASP.NET Core provides a number of attributes you can use to pick a winning action method, when the router would normally end up selecting multiple actions. Listing 5.7 shows an AccountController with the two action methods you want to disambiguate. It’s typical for the two corresponding methods to have the same name, where the POST action takes additional parameters corresponding to the form values entered by the user.
AccountController is responsible for registering new users and logging them in. The first action method a user will hit is the Register action, which will display the login form, asking the user to provide an email and password, as shown in figure 14.12.
When they click submit, this will POST the form to the Register method of AccountController, as shown in listing 14.2. This action is responsible for creating a new user entity and signing the user in. This involves several steps: