Skip to content
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
12e568e
initial aspire
quezlatch Jun 19, 2026
fb3c88a
test: add Eventuous.Tests.Azure.Storage.Blobs project with tests for …
quezlatch Jun 19, 2026
ceab0b4
refactor: extract duplication from StorageBlobsProjectorTests and sur…
quezlatch Jun 19, 2026
b154f98
feat: add constructor overload to StorageBlobsProjector that takes Bl…
quezlatch Jun 19, 2026
fa5ded0
fix tests
quezlatch Jun 19, 2026
6251ad9
make context typed in On methods
quezlatch Jun 19, 2026
7dc10ad
update azure sample to use blob storage
quezlatch Jun 19, 2026
e47c589
update aspire sql databases
quezlatch Jun 19, 2026
5f07032
add race condition check
quezlatch Jun 20, 2026
ad263da
refactor
quezlatch Jun 21, 2026
4872b2d
add projector options
quezlatch Jun 21, 2026
b70b26e
enhance blob name resolution in projection
quezlatch Jun 21, 2026
b09e9f0
adjust blob name generation
quezlatch Jun 21, 2026
83664b4
refactor
quezlatch Jun 22, 2026
2b6cdad
add xml docs
quezlatch Jun 22, 2026
86c9933
documentation
quezlatch Jun 22, 2026
ff371ba
add scalar as swagger/openapi client
quezlatch Jun 25, 2026
b0812fa
refactor
quezlatch Jun 25, 2026
5fbaf53
retries on race conditions
quezlatch Jun 25, 2026
3b1fbcb
tidy
quezlatch Jun 25, 2026
eae7f04
oops
quezlatch Jun 25, 2026
4022b4d
review feedback
quezlatch Jun 25, 2026
8471b94
add .NoContext()
quezlatch Jun 25, 2026
f21f2df
correct aspire http endpoints
quezlatch Jun 26, 2026
d5142c6
remove azure sample
quezlatch Jul 1, 2026
88b47c8
add idempotency functionality
quezlatch Jul 1, 2026
c07f9d5
refactor tests
quezlatch Jul 1, 2026
5406f30
update readme
quezlatch Jul 1, 2026
bafa903
Merge branch 'dev' into aspire-and-blob-storage
quezlatch Jul 1, 2026
4fe57c2
tidy
quezlatch Jul 1, 2026
f0c9a4a
tidy
quezlatch Jul 1, 2026
70cfd2d
update readme
quezlatch Jul 2, 2026
aa05e06
make options non-generic by removing serialisation overrides
quezlatch Jul 2, 2026
5bc95ad
do not use IOptions wrapper
quezlatch Jul 4, 2026
71a6bf0
rename files
quezlatch Jul 6, 2026
08ab02b
Merge branch 'dev' into aspire-and-blob-storage
quezlatch Jul 16, 2026
46b2af0
Merge branch 'dev' into aspire-and-blob-storage
alexeyzimarev Jul 30, 2026
9b94307
fix readme
quezlatch Aug 2, 2026
eb70dc8
refine by global position idempotency
quezlatch Aug 2, 2026
4c9952f
update readme for ByMessageId
quezlatch Aug 2, 2026
09099c9
Merge branch 'dev' into aspire-and-blob-storage
alexeyzimarev Aug 3, 2026
47663a5
Merge branch 'dev' into aspire-and-blob-storage
quezlatch Aug 3, 2026
9e88697
fix: true streaming reads in KurrentDB store and paged read-to-end AP…
alexeyzimarev Aug 19, 2026
d00c938
fix(kurrentdb): bump KurrentDB.Client to 1.4.1 (#573)
Inok Aug 19, 2026
2c7f909
fix(test): stop Redis fixture aborting on first connection attempt (#…
alexeyzimarev Aug 19, 2026
4edc5c9
refactor(azure): review cleanup for the blob storage projection
alexeyzimarev Aug 19, 2026
20ed206
fix(azure): narrow blob projector exception handling and encode metadata
alexeyzimarev Aug 19, 2026
b568c50
fix(azure): wrap only the Azure SDK awaits in the projector catch blocks
alexeyzimarev Aug 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@
<TUnitVersion>0.77.3</TUnitVersion>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Aspire.Hosting.Azure.ServiceBus" Version="13.4.5" />
<PackageVersion Include="Aspire.Hosting.Azure.Sql" Version="13.4.5" />
<PackageVersion Include="Aspire.Hosting.Azure.Storage" Version="13.4.5" />
<PackageVersion Include="Azure.Storage.Blobs" Version="12.29.0" />
<PackageVersion Include="BenchmarkDotNet" Version="0.14.0" />
<PackageVersion Include="FluentValidation" Version="12.0.0" />
<PackageVersion Include="IsExternalInit" Version="1.0.3" />
<PackageVersion Include="KurrentDB.Client" Version="1.3.0" />
<PackageVersion Include="Microsoft.Extensions.Azure" Version="1.14.0" />
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="$(MicrosoftExtensionsVer)" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="$(MicrosoftExtensionsVer)" />
<PackageVersion Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="$(MicrosoftExtensionsVer)" />
Expand All @@ -37,6 +42,7 @@
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVer)" />
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="$(MicrosoftExtensionsVer)" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="Scalar.Aspire" Version="0.11.0" />
<PackageVersion Include="Shouldly" Version="4.2.1" />
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="$(MicrosoftExtensionsVer)" />
<PackageVersion Include="System.Linq.AsyncEnumerable" Version="10.0.0" />
Expand All @@ -62,6 +68,7 @@
</ItemGroup>
<ItemGroup Label="Testcontainers">
<PackageVersion Include="Testcontainers" Version="$(TestcontainersVersion)" />
<PackageVersion Include="Testcontainers.Azurite" Version="$(TestcontainersVersion)" />
<PackageVersion Include="Testcontainers.KurrentDb" Version="$(TestcontainersVersion)" />
<PackageVersion Include="Testcontainers.Kafka" Version="$(TestcontainersVersion)" />
<PackageVersion Include="Testcontainers.MongoDb" Version="$(TestcontainersVersion)" />
Expand Down Expand Up @@ -112,6 +119,7 @@
<PackageVersion Include="OpenTelemetry.Exporter.Zipkin" Version="1.15.3" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.15.2" />
<PackageVersion Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.15.1-beta.1" />
<PackageVersion Include="OpenTelemetry.Instrumentation.SqlClient" Version="1.15.2" />
<PackageVersion Include="Serilog.AspNetCore" Version="9.0.0" />
<PackageVersion Include="Serilog.Extensions.Hosting" Version="9.0.0" />
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" />
Expand Down
8 changes: 8 additions & 0 deletions Eventuous.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
<Folder Name="/Brokers/Azure/" />
<Folder Name="/Brokers/Azure/src/">
<Project Path="src/Azure/src/Eventuous.Azure.ServiceBus/Eventuous.Azure.ServiceBus.csproj" />
<Project Path="src/Azure/src/Eventuous.Azure.Storage.Blobs/Eventuous.Azure.Storage.Blobs.csproj" />
</Folder>
<Folder Name="/Brokers/Azure/test/">
<Project Path="src/Azure/test/Eventuous.Tests.Azure.ServiceBus/Eventuous.Tests.Azure.ServiceBus.csproj" />
<Project Path="src/Azure/test/Eventuous.Tests.Azure.Storage.Blobs/Eventuous.Tests.Azure.Storage.Blobs.csproj" />
</Folder>
<Folder Name="/Brokers/GooglePubSub/" />
<Folder Name="/Brokers/GooglePubSub/src/">
Expand Down Expand Up @@ -162,6 +164,12 @@
<Project Path="samples/postgres/Bookings.Payments/Bookings.Payments.csproj" />
<Project Path="samples/postgres/Bookings/Bookings.csproj" />
</Folder>
<Folder Name="/Samples/Azure/">
<Project Path="samples/azure/Bookings.AppHost/Bookings.AppHost.csproj" />
<Project Path="samples/azure/Bookings.Domain/Bookings.Domain.csproj" />
<Project Path="samples/azure/Bookings.Payments/Bookings.Payments.csproj" />
<Project Path="samples/azure/Bookings/Bookings.csproj" />
</Folder>
<Folder Name="/SignalR/" />
<Folder Name="/SignalR/src/">
<Project Path="src/SignalR/src/Eventuous.SignalR.Server/Eventuous.SignalR.Server.csproj" />
Expand Down
39 changes: 39 additions & 0 deletions samples/azure/Bookings.AppHost/AppHost.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using Scalar.Aspire;

var builder = DistributedApplication.CreateBuilder(args);

var sql = builder.AddAzureSqlServer("sql").RunAsContainer();
var bookingsDb = sql.AddDatabase("bookings-db");
var paymentsDb = sql.AddDatabase("payments-db");

var serviceBus = builder.AddAzureServiceBus("sbemulators").RunAsEmulator();
var queue = serviceBus.AddServiceBusQueue("PaymentsIntegration");

var blobs = builder.AddAzureStorage("storage").RunAsEmulator().AddBlobs("blobs");
var containers = blobs.AddBlobContainer("bookings-container");

var bookings = builder.AddProject<Projects.Bookings>("bookings")
.WithExternalHttpEndpoints()
.WithReference(bookingsDb)
.WithReference(serviceBus)
.WithReference(blobs)
.WaitFor(bookingsDb)
.WaitFor(serviceBus)
.WaitFor(blobs);

var payments = builder.AddProject<Projects.Bookings_Payments>("payments")
.WithExternalHttpEndpoints()
.WithReference(paymentsDb)
.WithReference(serviceBus)
.WithReference(blobs)
.WaitFor(paymentsDb)
.WaitFor(serviceBus)
.WaitFor(blobs);

var scalar = builder.AddScalarApiReference()
.WithApiReference(bookings)
.WithApiReference(payments)
.WaitFor(bookings)
.WaitFor(payments);

builder.Build().Run();
25 changes: 25 additions & 0 deletions samples/azure/Bookings.AppHost/Bookings.AppHost.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<Project Sdk="Aspire.AppHost.Sdk/13.4.5">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>301020ec-674b-4bcd-ba8f-2eddd4c017df</UserSecretsId>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Bookings\Bookings.csproj" />
<ProjectReference Include="..\Bookings.Payments\Bookings.Payments.csproj" />
</ItemGroup>

<ItemGroup>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aspire.Hosting.Azure.ServiceBus" />
<PackageReference Include="Aspire.Hosting.Azure.Sql" />
<PackageReference Include="Aspire.Hosting.Azure.Storage" />
<PackageReference Include="Scalar.Aspire" />
</ItemGroup>
</Project>
8 changes: 8 additions & 0 deletions samples/azure/Bookings.AppHost/appsettings.Development.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}
9 changes: 9 additions & 0 deletions samples/azure/Bookings.AppHost/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.Dcp": "Warning"
}
}
}
16 changes: 16 additions & 0 deletions samples/azure/Bookings.Domain/Bookings.Domain.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NodaTime"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(CoreRoot)\Eventuous.Domain\Eventuous.Domain.csproj" />
<ProjectReference Include="$(CoreRoot)\Eventuous.Shared\Eventuous.Shared.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\kurrentdb\Bookings.Domain\*.cs" />
<Compile Include="..\..\kurrentdb\Bookings.Domain\Bookings\*.cs" LinkBase="Bookings" />
</ItemGroup>
</Project>
44 changes: 44 additions & 0 deletions samples/azure/Bookings.Payments/Bookings.Payments.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Storage.Blobs" />
<PackageReference Include="Microsoft.Extensions.Azure" />
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" />
<PackageReference Include="OpenTelemetry.Exporter.Prometheus.AspNetCore" />
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" />
<PackageReference Include="OpenTelemetry.Instrumentation.SqlClient" />
<PackageReference Include="Serilog.Extensions.Hosting" />
<PackageReference Include="Serilog.Sinks.Console" />
<PackageReference Include="Swashbuckle.AspNetCore" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Bookings\Infrastructure\Logging.cs">
<Link>Infrastructure\Logging.cs</Link>
</Compile>
<Compile Include="..\Bookings\Infrastructure\Telemetry.cs">
<Link>Infrastructure\Telemetry.cs</Link>
</Compile>
<Compile Include="..\..\kurrentdb\Bookings.Payments\Domain\*.cs">
<Link>Domain\%(Filename)%(Extension)</Link>
</Compile>
<Compile Include="..\..\kurrentdb\Bookings.Payments\Application\*.cs">
<Link>Application\%(Filename)%(Extension)</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="$(SrcRoot)\Extensions\src\Eventuous.Extensions.AspNetCore\Eventuous.Extensions.AspNetCore.csproj"/>
<ProjectReference Include="$(SrcRoot)\Extensions\src\Eventuous.Extensions.DependencyInjection\Eventuous.Extensions.DependencyInjection.csproj"/>
<ProjectReference Include="$(SrcRoot)\Diagnostics\src\Eventuous.Diagnostics.OpenTelemetry\Eventuous.Diagnostics.OpenTelemetry.csproj"/>
<ProjectReference Include="$(SrcRoot)\Gateway\src\Eventuous.Gateway\Eventuous.Gateway.csproj"/>
<ProjectReference Include="$(SrcRoot)\Core\gen\Eventuous.Subscriptions.Generators\Eventuous.Subscriptions.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(SrcRoot)\Core\gen\Eventuous.Shared.Generators\Eventuous.Shared.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(SrcRoot)\Experimental\src\Eventuous.Spyglass\Eventuous.Spyglass.csproj"/>
<ProjectReference Include="$(SrcRoot)\Experimental\gen\Eventuous.Spyglass.Generators\Eventuous.Spyglass.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(SrcRoot)\SqlServer\src\Eventuous.SqlServer\Eventuous.SqlServer.csproj" />
<ProjectReference Include="$(SrcRoot)\Azure\src\Eventuous.Azure.ServiceBus\Eventuous.Azure.ServiceBus.csproj" />
</ItemGroup>
</Project>
31 changes: 31 additions & 0 deletions samples/azure/Bookings.Payments/Integration/Payments.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using Bookings.Payments.Domain;
using Eventuous;
using Eventuous.Azure.ServiceBus.Producers;
using Eventuous.Gateway;
using Eventuous.Subscriptions.Context;
using static Bookings.Payments.Integration.IntegrationEvents;

namespace Bookings.Payments.Integration;

public static class PaymentsGateway {
static readonly StreamName Stream = new("PaymentsIntegration");
static readonly ServiceBusProduceOptions ProduceOptions = new();

public static ValueTask<GatewayMessage<ServiceBusProduceOptions>[]> Transform(IMessageConsumeContext original) {
var result = original.Message is PaymentEvents.PaymentRecorded evt
? new GatewayMessage<ServiceBusProduceOptions>(
Stream,
new BookingPaymentRecorded(original.Stream.GetId(), evt.BookingId, evt.Amount, evt.Currency),
new(),
ProduceOptions
)
: null;

return ValueTask.FromResult<GatewayMessage<ServiceBusProduceOptions>[]>(result != null ? [result] : []);
}
}

public static class IntegrationEvents {
[EventType("BookingPaymentRecorded")]
public record BookingPaymentRecorded(string PaymentId, string BookingId, float Amount, string Currency);
}
28 changes: 28 additions & 0 deletions samples/azure/Bookings.Payments/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using Bookings.Infrastructure;
using Bookings.Payments;
using Bookings.Payments.Domain;
using Eventuous;
using Serilog;

TypeMap.RegisterKnownEventTypes();
Logging.ConfigureLog();

var builder = WebApplication.CreateBuilder(args);
builder.Host.UseSerilog();

builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(c => c.SwaggerDoc("v1", new() { Title = "Bookings Payments API", Version = "v1" }));
// OpenTelemetry instrumentation must be added before adding Eventuous services
builder.Services.AddTelemetry();
builder.Services.AddEventuous(builder.Configuration);

var app = builder.Build();

app.Services.AddEventuousLogs();
app.UseSwagger(c=>c.RouteTemplate = "openapi/{documentName}.json");
app.UseOpenTelemetryPrometheusScrapingEndpoint();

// Here we discover commands by their annotations
app.MapDiscoveredCommands<PaymentState>();

app.Run();
37 changes: 37 additions & 0 deletions samples/azure/Bookings.Payments/Registrations.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
using Bookings.Payments.Application;
using Bookings.Payments.Domain;
using Bookings.Payments.Integration;
using Eventuous.Azure.ServiceBus.Producers;
using Eventuous.SqlServer;
using Eventuous.SqlServer.Subscriptions;
using Microsoft.Extensions.Azure;

namespace Bookings.Payments;

public static class Registrations {
public static void AddEventuous(this IServiceCollection services, IConfiguration configuration) {
services.AddAzureClients(async builder => {
var sbConnectionString = configuration.GetConnectionString("sbemulators") ?? throw new InvalidOperationException("Connection string 'sbemulators' not found.");
builder.AddServiceBusClient(sbConnectionString);
var blobConnectionString = configuration.GetConnectionString("blobs") ?? throw new InvalidOperationException("Connection string 'blobs' not found.");
builder.AddBlobServiceClient(blobConnectionString);
});

var connectionString = configuration.GetConnectionString("payments-db") ?? throw new InvalidOperationException("Connection string 'payments-db' not found.");

services.AddEventuousSqlServer(connectionString, initializeDatabase: true);
services.AddEventStore<SqlServerStore>();
services.AddSqlServerCheckpointStore();
services.AddCommandService<CommandService, PaymentState>();
services.AddProducer<ServiceBusProducer>();
services.AddSingleton(new ServiceBusProducerOptions {
QueueOrTopicName = "PaymentsIntegration",
});

services
.AddGateway<SqlServerAllStreamSubscription, SqlServerAllStreamSubscriptionOptions, ServiceBusProducer, ServiceBusProduceOptions>(
"IntegrationSubscription",
PaymentsGateway.Transform
);
}
}
14 changes: 14 additions & 0 deletions samples/azure/Bookings.Payments/appsettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"ConnectionStrings": {
"database": "from aspire",
"sbemulators": "from aspire",
"blobs": "from aspire"
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
}
32 changes: 32 additions & 0 deletions samples/azure/Bookings/Application/BookingsCommandService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using Bookings.Domain;
using Bookings.Domain.Bookings;
using Eventuous;
using NodaTime;
using static Bookings.Application.BookingCommands;
// ReSharper disable ArrangeObjectCreationWhenTypeNotEvident

namespace Bookings.Application;

public class BookingsCommandService : CommandService<Booking, BookingState, BookingId> {
public BookingsCommandService(IEventStore store, Services.IsRoomAvailable isRoomAvailable) : base(store) {
On<BookRoom>()
.InState(ExpectedState.New)
.GetId(cmd => new BookingId(cmd.BookingId))
.ActAsync(
(booking, cmd, _) => booking.BookRoom(
cmd.GuestId,
new RoomId(cmd.RoomId),
new StayPeriod(LocalDate.FromDateTime(cmd.CheckInDate), LocalDate.FromDateTime(cmd.CheckOutDate)),
new Money(cmd.BookingPrice, cmd.Currency),
new Money(cmd.PrepaidAmount, cmd.Currency),
DateTimeOffset.Now,
isRoomAvailable
)
);

On<RecordPayment>()
.InState(ExpectedState.Existing)
.GetId(cmd => new BookingId(cmd.BookingId))
.Act((booking, cmd) => booking.RecordPayment(new Money(cmd.PaidAmount, cmd.Currency), cmd.PaymentId, cmd.PaidBy, DateTimeOffset.Now));
}
}
7 changes: 7 additions & 0 deletions samples/azure/Bookings/Application/BookingsQueryService.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
using Bookings.Application.Queries;

namespace Bookings.Application;

public class BookingsQueryService([FromKeyedServices("BookingsProjections")] MyBookingsProjection projection) {
public async Task<MyBookings?> GetUserBookings(string userId) => await projection.LoadDocument(userId);
}
17 changes: 17 additions & 0 deletions samples/azure/Bookings/Application/Commands.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
namespace Bookings.Application;

public static class BookingCommands {
public record BookRoom(
string BookingId,
string GuestId,
string RoomId,
DateTime CheckInDate,
DateTime CheckOutDate,
float BookingPrice,
float PrepaidAmount,
string Currency,
DateTimeOffset BookingDate
);

public record RecordPayment(string BookingId, float PaidAmount, string Currency, string PaymentId, string PaidBy);
}
Loading
Loading