I got interface with method:
Task<Dictionary<long, Cars>> GetCars();
Thne I have VM:
private IList<Cars> m_cars;
public IList<Cars> MyCars
{
get => m_cars;
}
and some method:
public override void Load()
{
MyCars = someservice.GetCars();
}
But I can't do that. How to assing values from Dictionary
to IList
?