public async Task <IActionResult> AddTransaction([FromRoute] Guid accountId, [FromBody] TransactionCreateViewModel transactionCreateViewModel) { if (!ModelState.IsValid) { return(BadRequest()); } try { var transactionId = await _transactionsService.AppendTransaction(accountId, transactionCreateViewModel.Amount); return(Ok(transactionId)); } catch (Exception e) { Console.WriteLine(e); throw; } }