public string errorResponseExcept(ScriptScopeContext scope, ResponseStatus errorStatus, IEnumerable fields) { if (errorStatus == null) return null; var fieldNames = Context.DefaultMethods.toVarNames(fields); return ViewUtils.ErrorResponseExcept(errorStatus, fieldNames); }
public string errorResponseExcept(ScriptScopeContext scope, ResponseStatus errorStatus, object fields) { if (errorStatus == null) { return(null); } var fieldNames = Context.DefaultMethods.toVarNames(fields); return(ViewUtils.ErrorResponseExcept(errorStatus, fieldNames)); }
public static string ErrorResponseExcept(this IHtmlHelper html, ICollection <string> fieldNames) => ViewUtils.ErrorResponseExcept(html.GetErrorStatus(), fieldNames);
public static string ErrorResponseExcept(this HtmlHelper html, string fieldNames) => ViewUtils.ErrorResponseExcept(html.GetErrorStatus(), fieldNames);