草庐IT

远程验证导致提交输入(多重补给丁顿)为null

我最近以我的形式实施了远程验证:ViewModel:[Remote("IsTagUnique","myController","myArea",ErrorMessage="Thistagalreadyexists.")]publicstringtag{get;set;}控制器:publicActionResultIsTagUnique(stringtag){using(db){try{varmyTag=db.ASAuftraege.Single(m=>m.tag==tag);returnJson(false,JsonRequestBehavior.AllowGet);}}catch(Excep