public async Task <IEnumerable <PersonInProjectSimpleDto> > GetProjectsWherePersonIsAttendant(Guid personId)
        {
            var result = await personInProjectRepository.GetProjectsByPersonWithProjectData(personId);

            if (result == null || !result.Any())
            {
                return(new List <PersonInProjectSimpleDto>());
            }

            return(result.Select(x => mapper.Map <PersonInProjectSimpleDto>(x)).ToList());
        }