Esempio n. 1
0
        public List <int> GetUserProject(int userid)
        {
            var firstList  = projectMemberRepository.GetMulti(x => x.UserID == userid).ToList();
            var secondList = firstList.Select(x => x.ProjectID);
            var result     = secondList.Distinct().ToList();

            return(result);
        }