public int insert_customer(Customer customer) { DBservices dbs = new DBservices(); dbs.insert_customer(customer); int customer_Id = dbs.customerAdded(customer.Email); dbs.AddToBadge(customer_Id); return(customer_Id); }