public List <StockClass> searchName(string name) { return(StockDL.searchByName(name)); }
public List <StockClass> showAll() { StockDL s = new StockDL(); return(s.showProducts()); }
public void update(string name, string type, int price, int quantity, DateTime exp) { StockDL t = new StockDL(); t.updateProduct(name, type, price, quantity, exp); }
public void QuantNotify(int index) { StockDL j = new StockDL(); j.deleteQuantityNoty(index); }
public void delete_product(string name, string type) { StockDL s = new StockDL(); s.deleteProduct(name, type); }
public void undo_updateStock(string name, string type, int quantity) { StockDL s = new StockDL(); s.undoupdateStock(name, type, quantity); }
public List <StockClass> showQuantexpNotify() { StockDL j = new StockDL(); return(j.showQuantityNotification()); }
public void delexpNotify(int index) { StockDL j = new StockDL(); j.deleteNoty(index); }
public List <StockClass> addexpNotify() { StockDL j = new StockDL(); return(j.storeNotification()); }
public void update_Stock(string name, string type, int quantity) { StockDL l = new StockDL(); l.updateStock(name, type, quantity); }
public List <StockClass> searchType(string type) { return(StockDL.searchByType(type)); }
public List <StockClass> searchFormula(string formula) { return(StockDL.searchByFormula(formula)); }