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();
}
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();
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Muthu vj128 reputationPosted Dec 21, 2022, 4:58 AM EST
Hi Gobi,
GetAllAsync its a base Method Name so you cant use the same name in your Controller...
Rajeev KumarRank #1,334 · 1.3K reputationPosted Mar 2, 2023, 5:08 AM EST
GetAllAsync its a base Method Name so you cant use the same name in your Controller...