public async Task <IActionResult> Disconnect() { var result = await _bus.Send(DisconnectCommand.Create()); if (result) { return(Ok()); } return(BadRequest(result.FailureReason)); }
public async Task <IActionResult> Disconnect() { var result = await _bus.Send(DisconnectCommand.Create()); if (result) { return(Ok()); } return(BadRequest(result.FailureReason)); }