public async virtual Task Create(TEntity entityToCreate) { _dbSet.Add(entityToCreate); await _dbContext.SaveChangesAsync(); }
public void Save() { _dbContext.SaveChangesAsync(); }