Esempio n. 1
0
        public async Task <bool> UpdateEvent(int eventId, UpdateEventRequest request)
        {
            var updateEvent = _eventConverter.UpdateEventRequestToEvent(eventId, request);

            bool updated;

            try
            {
                updated = await _eventRepository.UpdateEvent(updateEvent);
            }
            catch
            {
                throw;
            }
            return(updated);
        }