Esempio n. 1
0
        public virtual async Task <IActionResult> OnPostAsync()
        {
            var dto = ObjectMapper.Map <EditProductAssetCategoryViewModel, UpdateProductAssetCategoryDto>(ViewModel);
            await _service.UpdateAsync(Id, dto);

            return(NoContent());
        }
 public virtual Task <ProductAssetCategoryDto> UpdateAsync(Guid id, UpdateProductAssetCategoryDto input)
 {
     return(_service.UpdateAsync(id, input));
 }