Hi All,

My MVC App uses the Entity framework. The framework is sending back a an ICollection but I really want an IEnumerable.

I have declared a public class on my view model with a public IEnumerable of my class type i.e.

Code:
Public class fred
{ contains my public properties }

public IEnumerable<fred> EnumerableProp {get;set;}
my Model returns an ICollection of type fred. How do I get fred into my EnumerableProp?