I used below code
string userList = string.Join(",", db.UserRole.Where(p => p.FirmUserID == 1).Select(p => p.RoleID.ToString()));
userList values below,
1,12,17,33,76
I have also below string list
List<string> roleList = new List<string>();
roleList.add("14");
rolelist.add("33");
roleList.add("76");
How can i check userList includes roleList value and get matches value in entity framework ?