IValueProvider
does not extend IEnumerable<T>
, so LINQ extension methods like Where
won't be available.
IValueProvider
is new in MVC 2, so it's possible that you are accessing a property that was IEnumerable<T>
in MVC 1.
Can you provide the code at NewDiscountsController.cs 51
?
Richard Szalay
2010-03-01 12:14:24