Following is my generic base repository interface
public interface IRepository { IQueryable AllIncluding(params Expression
Another solution for solving this issue is to use: .AsQueryable() instead of .AsQueryable.
.AsQueryable()
.AsQueryable