public async Task <IActionResult> WithdrawCash([FromBody] WithdrawCashDTO model) { try { await _accountApplicationService.WithdrawCashAsync(AccountId.With(model.AccountId), model.Amount); } catch (Exception e) { return(BadRequest(new { Error = e.Message })); } return(Ok(new { isSuccess = true })); }