public async Task Handle(CommandAlert alert) { store.Add(Alert.Create(alert.Message, alert.Type)); }
private void AddAlert(string message) { store.Add(Alert.Create(message, AlertType.Information)); }