Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ousiax committed Dec 11, 2023
1 parent 673e94f commit 179762a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Leo.Wpf.App/ViewModels/CustomerEditorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private async Task SaveAsync()
{
if (SeletedCustomer != null)
{
var dto = _mapper.Map<CustomerDto>(this);
var dto = _mapper.Map<CustomerDto>(this.SeletedCustomer);
await _customerService.UpdateAsync(dto);
_messenger.Send(new CustomerCreatedMessage(SeletedCustomer.Id));
}
Expand Down

0 comments on commit 179762a

Please sign in to comment.