public int AddCommodityInfo(Product product) { dbproduct = new DBProduct(); int Result = 0; try { Result = dbproduct.AddCommodityInfo(product); return(Result); } catch (Exception) { throw; } }
public int AddCommodityInfo(Product product) { dbproduct = new DBProduct(); int Result = 0; try { Result = dbproduct.AddCommodityInfo(product); return(Result); } catch (Exception) { throw; } }