Ejemplo n.º 1
0
 public virtual async Task <TEntity> GetById(int id)
 {
     return(await _dbContext.Set <TEntity>().FindAsync(id));
 }