namespace RadicadeServer.RecNet.Notifications { public static class AnnouncementBroadcast { public const string UpdateNotificationId = "AnnouncementUpdate"; public static Notification Update(Announcement announcement) => new() { Id = UpdateNotificationId, Msg = announcement }; public const string DeleteNotificationId = "AnnouncementDelete"; public static Notification Delete(Announcement announcement) => new() { Id = DeleteNotificationId, Msg = announcement }; } }