Added a transfer funds handler using a-frame and wolverine.
This commit is contained in:
@@ -53,4 +53,10 @@ app.MapPost("/accounts/apply-fee", async (ApplyFeeCommand cmd, IMessageBus bus)
|
||||
return Results.Accepted();
|
||||
});
|
||||
|
||||
app.MapPost("/accounts/transfer", async (TransferFundsCommand cmd, IMessageBus bus) =>
|
||||
{
|
||||
await bus.InvokeAsync(cmd);
|
||||
return Results.Accepted();
|
||||
});
|
||||
|
||||
app.Run();
|
||||
|
||||
Reference in New Issue
Block a user