Example #1
0
 public virtual async Task <TEntity> GetByIdAsync(int id)
 {
     return(await _dbContext.Set <TEntity>().FindAsync(id));
 }