你如何写出我尝试过的元素的动作
data-yes="@{Url.Action("DeleteAndAppend", "DepartmentsController", new { id = item.DepartmentId });}" but I always getting nothing
并尝试了这个,我没有得到行动或路径的结果
data-yes="@{Html.Action("DeleteAll", new { id = item.DepartmentId });}"
我只想要动作的路径和带有 id 输出的控制器有谁知道该怎么做