ArgumentException on async get method in repository. ASP.NET Core – Razor Pages
I'm asking this question because I haven't found any solution. I rewrote my code multiple times by tutorials but nothing changed. Broken query method in ReadRepository.cs: public async Task<T> GetByIdAsync(string id) => await Table.FindAsync(Guid.Parse(id)); ShowDraw.cshtml.cs: private readonly IDrawReadRepository _drawReadRepository; public…