update to use deconstructed

This commit is contained in:
tekh 2025-08-29 11:05:52 +02:00
parent bcb2e79fa1
commit 8a22075abe

View File

@ -64,8 +64,8 @@ public class HistoryTests
.Select(async email =>
{
var cmd = new CreateReceiverCommand { EmailAddress = email };
var res = await Mediator.Send(cmd);
return (res.Id, email);
var (Id, AlreadyExists) = await Mediator.Send(cmd);
return (Id, email);
})
);
_receivers.AddRange(receivers);