Abstract repository method changed from Save to SaveAsync

This commit is contained in:
Veljko Tosic
2026-02-11 02:23:18 +01:00
parent cbacb92d98
commit c23e489db2
4 changed files with 4 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ public class CreateRectangleCommandHandler : ICommandHandler<CreateRectangleComm
command.EndPositionY,
command.BorderThickness);
await _shapeRepository.Add(rectangle, cancellationToken);
await _shapeRepository.SaveAsync(rectangle, cancellationToken);
await _unitOfWork.SaveChangesAsync(cancellationToken);
return rectangle.Id;