views:

532

answers:

1
+2  Q: 

MVC to MVC2 Errors

+4  A: 

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
I think your right; I've thrown the code up at the top.
Chris M