public void AddSpecimenTubeAttach(DtoSpecimenTubeAttach dtoSpecimenTubeAttach) { var specimenTubeAttach = new SpecimenTubeAttach() { ConcreteSpecimen = new ConcreteSpecimen() { Id = dtoSpecimenTubeAttach.ConcreteSpecimen.Id }, ConcreteTube = new ConcreteTube() { Id = dtoSpecimenTubeAttach.ConcreteTube.Id } }; SpecimenTubeAttachMethods.Instance.InsertSpecimenTubeAttach(specimenTubeAttach); }