i just Enitity values into observable collection
BuildingList then that values are filter through particular value and then add into another observable collection
BuildingList1
ObservableCollection<paymententity> BuildingList1=new Obsevable Collection();
public void fillBuilding(int _locationId)
{
BuildingList1.Clear();
foreach (var item in BuildingList)
{
if (item.LocationId == _locationId)
{
BuildingList1.Add(item);
}
}