Пример #1
0
        public async Task CreateAsync(Transaction transaction)
        {
            await _transactionValidator.ValidateAsync(transaction, TransactionAction.Create);

            _transactionRepository.Create(transaction);

            await _unitOfWork.SaveAsync();
        }