I'm trying to make a LINQ query on my DB SQL Server, but its result always comes 'null'. I need the first userid on which I query.
This is the way I try to query it:
public decimal GetCustomerBalance(long accountCurrentAdvisorId)
{
var result = this.Table.Select(x => x.AccountCurrentAdvisorId == accountCurrentAdvisorId);
return result;
}