public async Task <IActionResult> ExchangeStatus([FromBody] BrokerExchangeStatusParams model) { var res = await _exchangeService.ExchangeStatus(model.ExchangeId); return(Ok(res)); }
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())); }