예제 #1
0
        public async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            ViewModel = ObjectMapper.Map <EquipmentInspectionResultDto, CreateEditEquipmentInspectionResultViewModel>(dto);
        }
예제 #2
0
        public async Task OnGetAsync()
        {
            var dto = await _service.GetAsync(Id);

            EquipmentInspectionResult = ObjectMapper.Map <EquipmentInspectionResultDto, CreateUpdateEquipmentInspectionResultDto>(dto);
        }