Hi, I need to get UserCarId(int) from this query and assign to int type variable.
int UserCarId;
Entities ctx = new Entities();
var query = from enq in ctx.UserCars.Include("aspnet_Users")
where enq.aspnet_Users.UserId == currentUserId
select enq.UserCarId ;
UserCarId = query;