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

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

            ViewModel = ObjectMapper.Map <EquipmentBrandDto, CreateEditEquipmentBrandViewModel>(dto);
        }