Selecting only one column linq lambda query asp.net

I am quite new to entity framework and linq but basically I am using data first and my database has a table called tblNumbers and it has 2 columns, an id column and a numbers column which is populated with int values, I want to populate only the number values into my list but when I try do this I get an error saying that I cannot implicitly convert system.collections.generic.list< int> to system.collections.generic.list<projectname.Models.tblNumber>. I am not sure where to go from this, any help would be much appreciated.

How to get specific field(s) from database?

public class UserController : ApiController { UserSampleEntities entities = new UserSampleEntities(); // GET api/<controller> [Route("api/User")] public IEnumerable<user> Get() { { return entities.users; } } } This returns the json with all the entries in the database with all its properties. How do I filter such that I can obtain a json for only specific properties? … Read more