Skip to content

Commit 81c8baf

Browse files
committed
Custom name for tuple element
1 parent a8e5299 commit 81c8baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Chapter15/Boc/MakeTransferController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public Task<IActionResult> MakeTransfer([FromBody] MakeTransfer command)
2828
from cmd in Async(Validate(command))
2929
from acc in GetAccount(cmd.DebitedAccountId)
3030
from result in acc.Handle(cmd)
31-
select result.Item2;
31+
select result.NewState;
3232

3333
return outcome.Map(
3434
Faulted: ex => StatusCode(500, Errors.UnexpectedError),

0 commit comments

Comments
 (0)