When I'm use the function name like this the controller is not even hit why? But its working when I'm using like this GetAll(int id)
public IActionResult GetAllAsync(int id) { return View(); }