Exemple #1
0
        public void EditEvent(EventFormDto eventFormDto)
        {
            var @event = _mappingInfrastructure.MapEventFormDtoToEvent(eventFormDto);

            @event.UserId = _authInfrastructure.GetCurrentUserId();
            _eventsRepository.Edit(@event);
            MovePhotosFromTempToDest(eventFormDto.PhotoNames);
        }