Linq Compare to a list
Establish your list   var idList = new [] {5, 7};   Compare against the List    var jobs = originaljobs.Where(t => t.StatusId != null).Where(t => idList .Contains((int)t.StatusId));    
Simple solutions to common questions on MVC, LINQ, Blazor and C# web development.