I have a list on were i select the ids and i want to see if one of those ids exists in another list of ids. How do i do that?
Im trying to do something like this:
customerViewModel.Suppliers.Select(w => w.SupplierId).Contains(SessionCms.Suppliers.Select(a => a.SupplierId))
My sessioncms object is a list of suppliers and my customerviewmodel.suppliers is also a list of suppliers.
(here i just write some bullshit so that i meet the quality standards to post this question)