public List<ProxyConnection> GetAllTeamMembers(string id)
        {
            List<ProxyConnection> team = new List<ProxyConnection>();
            ProjectTeamService.ConnectionService service = new ProjectTeamService.ConnectionService();
            try
            {
                team = service.GetAllConnection().Where(x=>x.OpportunityId == id).ToList();
            }
            catch
            {

            }
            return team;
        }
Пример #2
0
        public List <ProxyConnection> GetAllTeamMembers(string id)
        {
            List <ProxyConnection> team = new List <ProxyConnection>();

            ProjectTeamService.ConnectionService service = new ProjectTeamService.ConnectionService();
            try
            {
                team = service.GetAllConnection().Where(x => x.OpportunityId == id).ToList();
            }
            catch
            {
            }
            return(team);
        }
        public void GetAllTeamMembers()
        {
            ProjectTeamService.ConnectionService service = new ProjectTeamService.ConnectionService();
            try
            {
                var all = service.GetAllConnection();
            }
            catch
            {

            }
            /*
            foreach (ProxyConnection item in all)
            {
                Console.WriteLine(item.Name);
                if (item.Name.Contains("Chen"))
                {

                }
            }
             * */
            Console.ReadLine();
        }
Пример #4
0
        public void GetAllTeamMembers()
        {
            ProjectTeamService.ConnectionService service = new ProjectTeamService.ConnectionService();
            try
            {
                var all = service.GetAllConnection();
            }
            catch
            {
            }

            /*
             * foreach (ProxyConnection item in all)
             * {
             *  Console.WriteLine(item.Name);
             *  if (item.Name.Contains("Chen"))
             *  {
             *
             *  }
             * }
             * */
            Console.ReadLine();
        }