public Boolean insertDevices(string name, double price, double quantity, double total)
 {
     devicesStore   = new DevicesStore();
     devicesStoreDB = new DevicesStoreDB();
     devicesStore.setName(name);
     devicesStore.setPrice(price);
     devicesStore.setQuantity(quantity);
     devicesStore.setTotal(total);
     check = devicesStoreDB.checkDevice(devicesStore);
     if (check == true)
     {
         return(false);
     }
     else
     {
         devicesStoreDB.insert(devicesStore);
         return(true);
     }
 }