public async Task Delete(Document product, CancellationToken cancellationToken) { _dbContext.RemoveEntity <Document>(product); await _dbContext.SaveChangesAsync(cancellationToken); }
public async Task Delete(Document product, CancellationToken cancellationToken) { _dbContext.RemoveEntity <Document>(product); await _dbContext.SaveChangesAsync(cancellationToken); }