예제 #1
0
        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 }));
            }
        }