Esempio n. 1
0
        public static EquipmentInExaminationDTO EquipmentInExaminationToEquipmentInExaminationDTO(EquipmentInExamination equipmentInExamination)
        {
            EquipmentInExaminationDTO equipmentInExaminationDTO = new EquipmentInExaminationDTO();

            equipmentInExaminationDTO.EquipmentID   = equipmentInExamination.EquipmentTypeID;
            equipmentInExaminationDTO.ExaminationId = equipmentInExamination.ExaminationId;
            return(equipmentInExaminationDTO);
        }
Esempio n. 2
0
        public static EquipmentInExamination EquipmentInExaminationDTOToEquipmentInExamination(EquipmentInExaminationDTO equipmentInExaminationDTO)
        {
            EquipmentInExamination equipmentInExamination = new EquipmentInExamination();

            equipmentInExamination.EquipmentTypeID = equipmentInExaminationDTO.EquipmentID;
            equipmentInExamination.ExaminationId   = equipmentInExaminationDTO.ExaminationId;
            return(equipmentInExamination);
        }