diff --git a/DigitalData.Core.Application/CRUDService.cs b/DigitalData.Core.Application/CRUDService.cs
index e235ccd..467d20f 100644
--- a/DigitalData.Core.Application/CRUDService.cs
+++ b/DigitalData.Core.Application/CRUDService.cs
@@ -47,7 +47,7 @@ namespace DigitalData.Core.Application
/// A service message indicating success or failure.
public virtual async Task UpdateAsync(TUpdateDto updateDto)
{
- var currentEntitiy = await _repository.ReadByIdAsync(updateDto.GetIdOrDefault());
+ var currentEntitiy = await _repository.ReadByIdAsync(updateDto.GetId());
if (currentEntitiy is null)
return Result.Fail().Notice(LogLevel.Warning, Flag.NotFound, $"{updateDto.GetIdOrDefault()} is not found in update process of {GetType()} entity.");