public void When(HappeningSetAsDefault e) { this.MarkAllAsNotDefault(); this.Happenings.Find(m => m.Id == e.KeyOfNewDefault).IsDefault = true; }
public void When(HappeningSetAsDefault e) { QueryModelRepository.Routing.PreviousDefault = QueryModelRepository.Routing.DefaultHappening; QueryModelRepository.Routing.DefaultHappening = e.KeyOfNewDefault; }
public void When(HappeningSetAsDefault e) => PublishToClients(e);
public void When(HappeningSetAsDefault e) { SetAsDefault(e.KeyOfNewDefault); }