示例#1
0
        public override async Task LoadAsync(int?statementId)
        {
            var statement = statementId.HasValue
                ? await _statementRepository.GetByIdAsync(statementId.Value)
                : CreateNewStatement();

            InitialiseStatement(statement);

            InitialiseTransactions(statement.Transactions);
        }