0👍
✅
Quick fix will be:
axios.post("/Tedarikci/Remove/" + ID)
Since your are doing Post
, it would be good to make your controller accept an object:
public IActionResult Remove([FromBody] RemoveInput input)
and your script:
axios.post("/Tedarikci/Remove", { id: ID })
Source:stackexchange.com