public async Task <string> Handle(CreateMeetingCommand request, CancellationToken cancellationToken) { _authorizationService.AuthorizeGroupAccessOrThrow(_httpContextAccessor.HttpContext, request.GroupID); var meeting = _mapper.Map <MeetingDO>(request); var user = _httpContextAccessor.HttpContext.Items["Account"] as UserDO; meeting.OrganiserID = user.ID; await _recomendationService.GetRecomendations(meeting); await _meetingRepository.AddMeetingAsync(meeting); await UpdateGroupAsync(meeting); return(meeting.ID); }