update to use deconstructed
This commit is contained in:
parent
bcb2e79fa1
commit
8a22075abe
@ -64,8 +64,8 @@ public class HistoryTests
|
|||||||
.Select(async email =>
|
.Select(async email =>
|
||||||
{
|
{
|
||||||
var cmd = new CreateReceiverCommand { EmailAddress = email };
|
var cmd = new CreateReceiverCommand { EmailAddress = email };
|
||||||
var res = await Mediator.Send(cmd);
|
var (Id, AlreadyExists) = await Mediator.Send(cmd);
|
||||||
return (res.Id, email);
|
return (Id, email);
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
_receivers.AddRange(receivers);
|
_receivers.AddRange(receivers);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user