added selection methods

This commit is contained in:
Mohammed Ashab Uddin
2020-07-30 09:29:19 +04:00
parent 3bf8cf6d03
commit e936c4d312
2 changed files with 18 additions and 0 deletions

View File

@@ -54,6 +54,15 @@ class Website {
return this.products.deleteData(productId);
}
selectProduct(productId){
return this.products.selectData(productId);
}
getSelectedProduct()
{
return this.products.selectedData;
}
}