Example #1
0
        public List <string> GetAllLeadListId()
        {
            List <string> result = new List <string>();
            var           list   = _groupRepository.AllLeadId();

            if (list != null)
            {
                foreach (var item in list)
                {
                    var user = _userRepository.Find(item);
                    result.Add(user.AspUserId);
                }
                return(result);
            }
            else
            {
                return(result);
            }
        }
Example #2
0
        public IQueryable <Guid> GetAllLeadId()
        {
            var listId = _groupRepository.AllLeadId();

            return(listId);
        }