Esempio n. 1
0
        public async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            ViewModel = ObjectMapper.Map <EquipmentInspectionDto, CreateEditEquipmentInspectionViewModel>(dto);
        }
Esempio n. 2
0
        public async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            EquipmentInspection = ObjectMapper.Map <EquipmentInspectionDto, CreateUpdateEquipmentInspectionDto>(dto);
        }