示例#1
0
 public async Task <Movie> GetById(int id)
 {
     return(await _context.FindAsync <Movie>(id));
 }
 public Task <T> FindAsync <T>(params object[] keys)
     where T : class
 {
     return(_movieContext.FindAsync <T>(keys));
 }