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