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

@@ -20,7 +20,7 @@ public class CreateUserCommandHandler : ICommandHandler<CreateUserCommand, UserI
{
var user = Domain.Models.User.User.Create(command.Email, command.Username, command.CreatedAt, command.DeletedAt);
await _userRepository.Save(user, cancellationToken);
await _userRepository.SaveAsync(user, cancellationToken);
await _unitOfWork.SaveChangesAsync(cancellationToken);
return user.Id;