This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class HtmlHelpers | |
{ | |
public static HtmlString BootstrapAlert(this HtmlHelper htmlHelper, string message, Enums.AlertType alertType) | |
{ | |
return BootstrapAlert(htmlHelper, new List<string>() { message }, alertType); ; | |
} | |
public static HtmlString BootstrapAlert(this HtmlHelper htmlHelper, List<string> messages, Enums.AlertType alertType) | |
{ | |
_BootstrapAlertModel model = new _BootstrapAlertModel() { Messages = messages }; |