public async Task <IActionResult> ExchangeStatus([FromBody] BrokerExchangeStatusParams model)
        {
            var res = await _exchangeService.ExchangeStatus(model.ExchangeId);

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

            return(Json((int)res.Status));
        }
        public async Task <IActionResult> GetExchangeStatus(string exchangeId)
        {
            var res = await exchangeService.ExchangeStatus(exchangeId);

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