예제 #1
0
        public async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <CreateEditEquipmentInspectionResultViewModel, CreateUpdateEquipmentInspectionResultDto>(ViewModel);
            await _service.UpdateAsync(Id, dto);

            return(NoContent());
        }
예제 #2
0
        public async Task <IActionResult> OnPostAsync()
        {
            await _service.UpdateAsync(Id, EquipmentInspectionResult);

            return(NoContent());
        }