public int addProduct(string productName, string productCategory, int price, int rank, int quantityLeft, int store, Session session) { checkProduct(productName, productCategory, price, rank, quantityLeft); return(db.addProduct(productName, productCategory, price, rank, quantityLeft, store, session)); }