private void Apply(PlayerAddedToCompetition @event) { _players.Add(@event.PlayarId); }
public void AddPlayer(Guid id) { var @event = new PlayerAddedToCompetition { PlayarId = id}; Apply(@event); Append(@event); }