public IActionResult WatchTable(int tableId, int userId) { try { bool result = _tableService.WatchTable(userId, tableId); return(Ok(result)); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }
public IActionResult WatchTable(int tableId, int userId) { try { bool result = _tableService.WatchTable(userId, tableId); return(Ok(result)); } catch (AppException ex) { return(BadRequest(new { message = ex.Message })); } }