How to solve issue "Could not translate expression ...into SQL and could not treat it as a local expression."
Linq "Could not translate expression... into SQL and could not treat it as a local expression."