我需要在mvc控制器中创建确认框?使用此"是"或"否"值,我需要在控制器中执行操作.我们怎么做?
示例代码:
public ActionResult ActionName(passing value)
{
// some code
message box here
if (true)
{ true code}
else { else code}
}
Run Code Online (Sandbox Code Playgroud)