Ejemplo n.º 1
0
        public ActionResult <ExpertWithProjects> GetExpertProjects(Guid expertId)
        {
            if (!expertRepository.ExpertExist(expertId))
            {
                return(NotFound());
            }

            var expertWithProjects = expertRepository.GetExpertWithProjectsMap(expertId);

            return(Ok(expertWithProjects));
        }