added selection methods
This commit is contained in:
@@ -54,6 +54,15 @@ class Website {
|
||||
return this.products.deleteData(productId);
|
||||
}
|
||||
|
||||
selectProduct(productId){
|
||||
return this.products.selectData(productId);
|
||||
}
|
||||
|
||||
getSelectedProduct()
|
||||
{
|
||||
return this.products.selectedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user