public async Task <IActionResult> EditCashWithdrawal(
            [FromBody] CashWithdrawalDto cashWithdrawal,
            [FromHeader(Name = "Authorization")] string token)
        {
            var userId = User.Claims.GetUserId();
            await mediator.Send(new UpdateCashWithdrawal.Command(cashWithdrawal, userId)).ConfigureAwait(false);

            return(Ok());
        }
 public Command(CashWithdrawalDto cashWithdrawal, int tokenUserId)
 {
     CashWithdrawal = cashWithdrawal;
     TokenUserId    = tokenUserId;
 }