You're fetching a collection of entities, but trying to treat it as a single entity.
If you only want to retrieve a single value, you should use First
, FirstOrDefault
, Single
or something similar (depending on your exact needs).
If you want to really retrieve a collection, you should handle it that way in your view too.