public async Task <IActionResult> GetOutgoingTransactionAsync([FromRoute] string id)
        {
            if (string.IsNullOrWhiteSpace(id))
            {
                return(ValidationProblem(
                           new ValidationProblemDetails(
                               new Dictionary <string, string[]>
                {
                    { nameof(id), new [] { $"{nameof(id)} is required" } }
                })));
            }

            var transaction = await _transactionsManager.GetAsync(id);

            if (transaction == null)
            {
                return(NotFound());
            }

            return(Ok(_mapper.Map <TransactionDetailsModel>(transaction)));
        }