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