BudgetAnalyser.Engine.Statement.Data.Mapper_TransactionDto_Transaction.ToModelPostprocessing C# (CSharp) Method

ToModelPostprocessing() private method

private ToModelPostprocessing ( TransactionDto dto, Transaction &model ) : void
dto TransactionDto
model Transaction
return void
        partial void ToModelPostprocessing(TransactionDto dto, ref Transaction model)
        {
            model.Account = this.accountRepo.GetByKey(dto.Account);
            model.BudgetBucket = this.bucketRepo.GetByCode(dto.BudgetBucketCode);
            model.TransactionType = this.transactionTypeRepo.GetOrCreateNew(dto.TransactionType);
        }
    }