public IActionResult GetStatus(int tableId) { try { var status = _playTableService.GetStatus(tableId); return(Ok(status)); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }
public IActionResult GetStatus(int tableId) { try { var status = _playTableService.GetStatus(tableId); return(Ok(status)); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }