public function add($name, $quantity, $price)
 {
     $this->validatePermissions();
     $productModel = new ProductModel();
     $viewModel = new InformationViewModel();
     try {
         $productModel->add($name, $quantity, $price);
         $viewModel->success = "Product {$name} created successfully";
     } catch (\Exception $e) {
         $viewModel->error = $e->getMessage();
     }
     return new View($viewModel);
 }