public static void Create(TempDataDictionary contextTempData, NotificationBaloonType notificationType, string message, string title = "") { contextTempData[NotificationCookieName] = new NotificationBaloonMessage(notificationType, message, title); }
public NotificationBaloonMessage(NotificationBaloonType notificationType, string message, string title = "") { NotificationType = notificationType; Message = message; Title = title; }