public async Task <IEnumerable <OrganizationOutput> > Handle(GetOrganizationsByUserIdQuery request, CancellationToken cancellationToken)
        {
            var organizations = await _organizationRepository.GetListByUserIdAsync(request.UserId);

            return(_mapper.Map <IEnumerable <OrganizationOutput> >(organizations));
        }
        public async Task <IEnumerable <OrganizationOutput> > GetListByUserIdAsync(string userId)
        {
            var query = new GetOrganizationsByUserIdQuery(userId: userId);

            return(await SendQueryAsync <GetOrganizationsByUserIdQuery, IEnumerable <OrganizationOutput> >(query));
        }