コード例 #1
0
        public async Task <IActionResult> ExchangeStatus([FromBody] BrokerExchangeStatusParams model)
        {
            var res = await _exchangeService.ExchangeStatus(model.ExchangeId);

            return(Ok(res));
        }
コード例 #2
0
        public async Task <IActionResult> GetExchangeStatus(string exchangeId)
        {
            var res = await _exchangeService.ExchangeStatus(exchangeId);

            return(Json((int)res.Status));
        }
コード例 #3
0
        public async Task <IActionResult> GetExchangeStatus(string exchangeId)
        {
            var res = await exchangeService.ExchangeStatus(exchangeId);

            return(Json(res.Status.ToString()));
        }