public void Process(DataCollectorRegistered @event) { _dataCollectors.Insert(new DataCollector(@event.DataCollectorId) { DisplayName = @event.DisplayName, FullName = @event.FullName, Location = new Location(@event.LocationLatitude, @event.LocationLongitude), YearOfBirth = @event.YearOfBirth, Sex = (Sex)@event.Sex, RegisteredAt = @event.RegisteredAt, PreferredLanguage = (Language)@event.PreferredLanguage, PhoneNumbers = new List <PhoneNumber>(), District = @event.District, Region = @event.Region }); }