Hi
I have below code . In GroupCollection value is Group 2A , Group 2A(i) . I want to list all those records from Database which have Group value Group 2A , Group 2A(i) . I am tryng like below but not working
public List<Group> GetMentorList(string Group)
{
List<Group> Result = (from t in context.Groups
where t.IsActive == true
&& (Group.Contains(t.GroupID.ToString()) : 1 == 1)
select t).ToList();
return Result;
}
Thanks