We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 452e877 commit 85d7659Copy full SHA for 85d7659
2 files changed
src/shared/CodeBreaker.Shared.ReportService/Api/GameDtos.cs
@@ -0,0 +1,11 @@
1
+namespace CodeBreaker.Shared.ReportService.Api;
2
+
3
+public record class GameDto(
4
+ Guid Id,
5
+ DateTime Start,
6
+ DateTime? End
7
+);
8
9
+public record class GetGamesResponse(IAsyncEnumerable<GameDto> Games);
10
11
+public record class GetGameResponse(GameDto game);
src/shared/CodeBreaker.Shared.ReportService/CodeBreaker.Shared.ReportService.csproj
@@ -0,0 +1,9 @@
+<Project Sdk="Microsoft.NET.Sdk">
+ <PropertyGroup>
+ <TargetFramework>net7.0</TargetFramework>
+ <ImplicitUsings>enable</ImplicitUsings>
+ <Nullable>enable</Nullable>
+ </PropertyGroup>
+</Project>
0 commit comments