コード例 #1
0
        public async Task <IActionResult> Deposit([FromBody] PandaStatementCreateContract Statement)
        {
            Results <bool> result = await _accountFacade.UpdateStatement(IdentityUser, Statement, Enums.PandaStatementStatus.Deposit);

            if (result.IsError())
            {
                return(StatusCode(500, result));
            }

            return(Ok(result));
        }