title: "AmbiguousActionException: Multiple actions matched" when using only 1 GET
body: <p>I'm getting this error even though I only have one GET on the page. So I'm thoroughly confused.</p>
  
  <p>Here's what the whole login page looks like:</p>
  
  <pre><code>public class LoginModel : PageModel
  {
  private UserAuthenticationService _userAuthenticationService { get; set; }
  private ClaimService _claimService { get; set; }
  
  public LoginModel(UserAuthenticationService userAuthenticationService, ClaimService claimService)
  {
      _userAuthenticationService = userAuthenticationService;
      _claimService = claimService;
  }
  
  public async Task OnGetAsync()
  {
      var user = _userAuthenticationService.Login();
      if (user == null)
      {
          //TODO: Login failed
      }
      else
      {
          var claims = _claimService.GetClaimsFromUserModel(user);
          var identity = new ClaimsIdentity(claims, CookieAuthenticationDefaults.AuthenticationScheme);
  
          var authProperties = new AuthenticationProperties()
          {
              ExpiresUtc = DateTime.UtcNow.AddDays(6),
              IsPersistent = true,
          };
          await HttpContext.SignInAsync(CookieAuthenticationDefaults.AuthenticationScheme, new ClaimsPrincipal(identity), authProperties);
      }
  }
  </code></pre>
  
  <p>And here's the error. I only have one OnGet, so I don't know why it's saying there are multiple. Any ideas?</p>
  
  <p><a href="https://i.stack.imgur.com/B4klR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B4klR.png" alt="enter image description here"></a></p>