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