public int InsertPointPacketConfig(PointPacketConfig pointpacketconfig) { _admin = new CampEventsAdminService.CampEventsAdminServiceClient(); try { int rs = _admin.InsertPointPacketConfig(pointpacketconfig); _admin.Close(); return(rs); } catch (Exception ex) { _admin.CloseCatch(ex, "InsertPointPacketConfig failed"); return(0); } }