Skip to content

No overload for method 'ProjectTo' takes 0 arguments #10

@cseas

Description

@cseas

Visual Studio 2019 throws this error in ReservationRepository.cs for below snippet.

public async Task<List<T>> GetAll<T>() {
  return await GetQuery().ProjectTo<T>().ToListAsync();
}

Perhaps it has to do with this AutoMapper Issue.

How can this error be resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions