public Wire AddCustomWire(Wire w, WireAttenuation wa) { this.rep.Insert(w); rep.Commit(); wa.wire_id = w.id; this.wam.AddCustomWireAttenuation(wa); return(w); }
public WireAttenuation AddCustomWireAttenuation(WireAttenuation wa) { this.rep.Insert(wa); rep.Commit(); return(wa); }