public async Task <IActionResult> OnPostAsync() { await _storeOwnerAppService.UpdateAsync(Id, ObjectMapper.Map <CreateEditStoreOwnerViewModel, CreateUpdateStoreOwnerDto>(StoreOwner)); return(NoContent()); }
public Task <StoreOwnerDto> UpdateAsync(Guid id, CreateUpdateStoreOwnerDto input) { return(_service.UpdateAsync(id, input)); }