public void Timeout(ZeroSubscriptionsFollowUpTimeout state) { var userRemainedAtZeroSubscriptions = new UserRemainedAtZeroStreetSubscriptionsEvent() { CorrelationId = Data.CorrelationId, Email = Data.Email, FirstName = Data.FirstName, LastName = Data.LastName, ReachedZeroSubscriptionAt = Data.ReachedZeroSubscriptionAt, RecheckedAt = DateTime.Now, UserId = Data.UserId }; Bus.Publish(userRemainedAtZeroSubscriptions); MarkAsComplete(); }
public void Handle(UserRemainedAtZeroStreetSubscriptionsEvent message) { this.Data.SendFollowupMessage = false; }