protected void AddPageAlert(string toastMessage, bool autoDismiss = false, PageAlert.AlertTypes pageAlertType = PageAlert.AlertTypes.Info, bool nextRequest = false) => AddPageAlert(new PageAlert(toastMessage, autoDismiss, pageAlertType), nextRequest);
public PageAlert(string message, bool autoDismiss = true, PageAlert.AlertTypes alertType = PageAlert.AlertTypes.Info) { Message = message; AutoDismiss = autoDismiss; AlertType = alertType; }