Refactor Lookup Query to Linq