/**
  * Deletes a product from the database.
  *
  * @param  $id - Id of the pack to be deleted
  * @return Response
  * @throws ResourceNotFoundException
  */
 public function delete($id)
 {
     $id = $this->filter->sanitize($id, 'int');
     try {
         $product = Product::findFirstOrFail(['id = ?0', 'bind' => [$id]]);
         return $this->response($this->request, $product);
     } catch (ResourceNotFoundException $e) {
         return $e->returnResponse();
     }
 }