Error CS1929 'int[]' does not contain a definition for 'Contains' and the best extension method overload 'Queryable.Contains<int?>(IQueryable<int?>, int?)' requires a receiver of type 'IQueryable<int?
once i try to run the code this error comes out , i dont know how to fix it. this is the code
public void SendModelPallet(string IDs, StorageContext db)
{
int[] ids = ViewModelsUtils.processIDs(IDs);
PalletBoxes = db.ExternStoragePlaces.Where(c => ids.Contains(c.PalletPlaceID)).ToList();
this.db = db;
}
Thanks in advance