Skip to content

Commit 85d7659

Browse files
committed
Created CodeBreaker.Shared.ReportService
1 parent 452e877 commit 85d7659

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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);
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

0 commit comments

Comments
 (0)