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