public async Task CloseAsync(Adjustment adjustment) { adjustment.Close(); _repository.Update(adjustment); adjustment.AddEvent(new AdjustmentClosedEvent(adjustment.Id)); await _repository.UnitOfWork.CommitAsync(); }