update to use deconstructed
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user