Exemplo n.º 1
0
        public async Task DeleteMembersFromEvent(Guid eventId)
        {
            var @event = await _eventRepository.Get(eventId);

            EnsureEventExists(@event);

            _memberRepository.DeleteAllMembersFromEvent(@event);

            await EnsureMembersAreDeletedInDataBase();
        }