public void CreateAndExecuteDeposit_Test() { var symbol = "NEO"; var amount = 1M; var deposit = _repoAuth.CreateDeposit(symbol, amount).Result; Assert.NotNull(deposit); var executedDeposit = _repoAuth.ExecuteDeposit(deposit).Result; Assert.NotNull(executedDeposit); }
/// <summary> /// Execute a deposit /// </summary> /// <param name="deposit">Deposit detail from creation</param> /// <returns>Deposit response</returns> public TransactionResponse ExecuteDeposit(TransactionResponse deposit) { return(_repository.ExecuteDeposit(deposit).Result); }