public static string MakeToast(SportClassifier.Web.Infrastructure.Enums.Enumerations.ToastrType toastrType, string message) { return string.Format("toastr.{0}('{1}');", toastrType.ToString(), message); }
public static string MakeToastPlusScriptTag(SportClassifier.Web.Infrastructure.Enums.Enumerations.ToastrType toastrType, string message) { return string.Format("<script language='javascript' type='text/javascript'>toastr.{0}('{1}');</script>", toastrType.ToString(), message); //return string.Format("toastr.{0}('{1}');", toastrType.ToString(), message); }