[nhusers] Re: Sql Server async problem?
Ok I found the problem. It's on my code. Maybe can help somebody this solution. My wrong code: public async TaskGetList() { using (var session = _sessionFactory.OpenSession()) { return session.Query().Where(t => t.Visible == true
Re: [nhusers] Re: Sql Server async problem?
You can ”return await .ToListAsync” > On 17 Feb 2018, at 22:31, Andrewwrote: > > Ok I found the problem. It's on my code. Maybe can help somebody this > solution. > > My wrong code: > public async Task GetList() > { > using (var session