From 94e35f09bd92463ffcb8e0617dbff64df3bca63a Mon Sep 17 00:00:00 2001 From: Nano Taboada <87288+nanotaboada@users.noreply.github.com> Date: Thu, 2 Apr 2026 15:13:34 -0300 Subject: [PATCH] chore(format): apply CSharpier formatting to all source files Co-authored-by: Claude Sonnet 4.6 --- .../Migrations/20250414191223_InitialCreate.cs | 9 +++++---- .../Migrations/20260329000000_NormalizePlayerDataset.cs | 1 - .../Utilities/PlayerData.cs | 6 ++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20250414191223_InitialCreate.cs b/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20250414191223_InitialCreate.cs index 33cb777..d5eeabc 100644 --- a/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20250414191223_InitialCreate.cs +++ b/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20250414191223_InitialCreate.cs @@ -30,20 +30,21 @@ protected override void Up(MigrationBuilder migrationBuilder) constraints: table => { table.PrimaryKey("PK_Players", x => x.Id); - }); + } + ); migrationBuilder.CreateIndex( name: "IX_Players_SquadNumber", table: "Players", column: "SquadNumber", - unique: true); + unique: true + ); } /// protected override void Down(MigrationBuilder migrationBuilder) { - migrationBuilder.DropTable( - name: "Players"); + migrationBuilder.DropTable(name: "Players"); } } } diff --git a/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20260329000000_NormalizePlayerDataset.cs b/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20260329000000_NormalizePlayerDataset.cs index 5ab5b08..f3502a5 100644 --- a/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20260329000000_NormalizePlayerDataset.cs +++ b/src/Dotnet.Samples.AspNetCore.WebApi/Migrations/20260329000000_NormalizePlayerDataset.cs @@ -92,7 +92,6 @@ protected override void Up(MigrationBuilder migrationBuilder) migrationBuilder.Sql( "UPDATE Players SET Id = '79c96f29-c59f-5f98-96b8-3a5946246624' WHERE SquadNumber = 22" ); - } /// diff --git a/src/Dotnet.Samples.AspNetCore.WebApi/Utilities/PlayerData.cs b/src/Dotnet.Samples.AspNetCore.WebApi/Utilities/PlayerData.cs index 500a394..244ee15 100644 --- a/src/Dotnet.Samples.AspNetCore.WebApi/Utilities/PlayerData.cs +++ b/src/Dotnet.Samples.AspNetCore.WebApi/Utilities/PlayerData.cs @@ -912,8 +912,6 @@ public static List MakeStarting11FromDeserializedJson() return players; } - private static readonly JsonSerializerOptions options = new() - { - PropertyNameCaseInsensitive = true, - }; + private static readonly JsonSerializerOptions options = + new() { PropertyNameCaseInsensitive = true, }; }