示例#1
0
        public IActionResult UpdateEDMTE(int id)
        {
            var evm = new EDMTEViewModel();

            evm.EDMTE      = _dal.GetEDMTE(id);
            evm.Equipments = _dal.GetEquipmentsListItems();
            evm.EquipmentDefaultMeasurementTypes = _dal.GetDefaultMeasurementTypesListItems();
            return(View(evm));
        }
示例#2
0
        public IActionResult AddEDMTE()
        {
            var evm = new EDMTEViewModel();

            evm.EDMTE      = new EquipmentDefaultMeasurementType_Equipment();
            evm.Equipments = _dal.GetEquipmentsListItems();
            evm.EquipmentDefaultMeasurementTypes = _dal.GetDefaultMeasurementTypesListItems();
            return(View(evm));
        }