private List <string> SearchGuid(List <Item> Items, RequestData vs) { Console.WriteLine("Searching for ID"); var ReturnList = Items.Where(item => vs.Contains((int)item.Id)); var Guids = ReturnList.Select(item => item.Guid); return(Guids.ToList()); }