public void Update(DiagnosticoDto diagnostico, MaterialSoportePlantarDto materialSoportePlantar)
 {
     _diagnosticoRepository.Update(diagnostico.DtoToModel());
     _materialSoportePlantarRepository.Update(materialSoportePlantar.DtoToModel());
     _tratamientoRepository.Update(diagnostico.Tratamiento.DtoToModel());
 }
Пример #2
0
        public void MaterialSoportePlantarDto_Maps_To_Model_CorrectType()
        {
            var materialSoportePlantarModel = _materialSoportePlantarDto.DtoToModel();

            Assert.AreEqual(typeof(MaterialSoportePlantarModel), materialSoportePlantarModel.GetType());
        }
 public void Insert(DiagnosticoDto diagnostico, MaterialSoportePlantarDto materialSoportePlantar)
 {
     _diagnosticoRepository.Insert(diagnostico.DtoToModel());
     _materialSoportePlantarRepository.Insert(materialSoportePlantar.DtoToModel());
 }