private Event CreateEvent(CreateEventViewModel eventViewModel)
        {
            var address = new Address
            {
                City = eventViewModel.Address.City,
                HouseNumber = eventViewModel.Address.HouseNumber,
                StreetName = eventViewModel.Address.StreetName,
                Zip = eventViewModel.Address.Zip
            };

            var createEvent = new Event
            {
                DateCreated = DateTime.Now,
                Title = eventViewModel.Title,
                Description = eventViewModel.Description,
                DateEdited = DateTime.Now,
                Date = eventViewModel.Date,
                Time = eventViewModel.Time,
                ReplyDeadline = eventViewModel.ReplyDeadline,
                FirstReminderMail = eventViewModel.FirstReminderMail,
                SecondReminderMail = eventViewModel.SecondReminderMail,
                AcceptanceEvent = eventViewModel.AcceptanceEvent,
                Address = address,
                Participants = new List<Participant>()
            };

            return createEvent;
        }
 public AddressEditorViewModel(Address addressModel)
 {
     this.AddressId = addressModel.AddressId;
     this.City = addressModel.City;
     this.Zip = addressModel.Zip;
     this.StreetName = addressModel.StreetName;
     this.HouseNumber = addressModel.HouseNumber;
 }