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); } }
public IQueryable <Guid> GetAllLeadId() { var listId = _groupRepository.AllLeadId(); return(listId); }