public async Task <IActionResult> OnPostAsync()
        {
            await _storeOwnerAppService.UpdateAsync(Id,
                                                    ObjectMapper.Map <CreateEditStoreOwnerViewModel, CreateUpdateStoreOwnerDto>(StoreOwner));

            return(NoContent());
        }
Esempio n. 2
0
 public Task <StoreOwnerDto> UpdateAsync(Guid id, CreateUpdateStoreOwnerDto input)
 {
     return(_service.UpdateAsync(id, input));
 }