public async Task <TEntity> Add(TEntity entity)
        {
            var result = _dbContext.Set <TEntity>().Add(entity);
            await _dbContext.SaveChangesAsync();

            return(result.Entity);
        }