If you’re using Entity Framework 6 you just need to specify
using System.Data.Entity;
at the top of your file.
ToListAsync is an extension method on IQueryable<T> declared in System.Data.Entity.QueryableExtensions
If you’re using Entity Framework 6 you just need to specify
using System.Data.Entity;
at the top of your file.
ToListAsync is an extension method on IQueryable<T> declared in System.Data.Entity.QueryableExtensions