public IActionResult AcceptTableBook(int id)
 {
     try
     {
         if (id == 0)
         {
             throw new Exception("bookId is missing");
         }
         var companyPage = _tableService.AcceptTableBookAsync(id);
         return(Ok(companyPage));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex.Message));
     }
 }