public static MvcHtmlString ImportInnerActionButton(this HtmlHelper html, string text, ImportModelLevel level, int id, ImportModelAction action, ButtonColor color = ButtonColor.Default, ButtonSize size = ButtonSize.Default) { return(html.SubmitButton(text, "innerAction", string.Format("{0}.{1}.{2}", level, id, action), color, size)); }
public bool Equals(ImportModelLevel level, ImportModelAction action) { return(this.Level == level && this.Action == action); }