public async Task <T> FindByIdAsync(int id) { using var context = new BlogDbContext(); return(await context.FindAsync <T>(id)); }