コード例 #1
0
        public IActionResult DuplicateUserAccount([FromBody] UserAccountReplicationDto userAccountReplication)
        {
            ulong accountId = _accountsService.DuplicateAccount(userAccountReplication.SourceAccountId, userAccountReplication.AccountInfo);

            if (accountId > 0)
            {
                return(Ok());
            }

            return(BadRequest());
        }