diff --git a/TaikoLocalServer/Context/TaikoDbContext.cs b/TaikoLocalServer/Context/TaikoDbContext.cs index e155024..671cdbb 100644 --- a/TaikoLocalServer/Context/TaikoDbContext.cs +++ b/TaikoLocalServer/Context/TaikoDbContext.cs @@ -1,6 +1,4 @@ -using Microsoft.EntityFrameworkCore; - -namespace TaikoLocalServer.Context +namespace TaikoLocalServer.Context { public partial class TaikoDbContext : DbContext { diff --git a/TaikoLocalServer/Context/TaikoDbContextPartial.cs b/TaikoLocalServer/Context/TaikoDbContextPartial.cs index 22414bd..4c3a5b1 100644 --- a/TaikoLocalServer/Context/TaikoDbContextPartial.cs +++ b/TaikoLocalServer/Context/TaikoDbContextPartial.cs @@ -1,6 +1,4 @@ -using Microsoft.EntityFrameworkCore; - -namespace TaikoLocalServer.Context; +namespace TaikoLocalServer.Context; public partial class TaikoDbContext { diff --git a/TaikoLocalServer/Controllers/BaidController.cs b/TaikoLocalServer/Controllers/BaidController.cs index 3de7d42..0ac7852 100644 --- a/TaikoLocalServer/Controllers/BaidController.cs +++ b/TaikoLocalServer/Controllers/BaidController.cs @@ -1,5 +1,4 @@ using System.Text.Json; -using Microsoft.EntityFrameworkCore; namespace TaikoLocalServer.Controllers; diff --git a/TaikoLocalServer/Controllers/GetDanOdaiController.cs b/TaikoLocalServer/Controllers/GetDanOdaiController.cs index 9e60865..4108a4a 100644 --- a/TaikoLocalServer/Controllers/GetDanOdaiController.cs +++ b/TaikoLocalServer/Controllers/GetDanOdaiController.cs @@ -1,6 +1,4 @@ -using Swan.Mapping; - -namespace TaikoLocalServer.Controllers; +namespace TaikoLocalServer.Controllers; [Route("/v12r03/chassis/getdanodai.php")] [ApiController] diff --git a/TaikoLocalServer/Controllers/GetDanScoreController.cs b/TaikoLocalServer/Controllers/GetDanScoreController.cs index 00163aa..d2b4e0f 100644 --- a/TaikoLocalServer/Controllers/GetDanScoreController.cs +++ b/TaikoLocalServer/Controllers/GetDanScoreController.cs @@ -1,7 +1,4 @@ -using Microsoft.EntityFrameworkCore; -using Swan.Mapping; - -namespace TaikoLocalServer.Controllers; +namespace TaikoLocalServer.Controllers; [Route("/v12r03/chassis/getdanscore.php")] [ApiController] diff --git a/TaikoLocalServer/Controllers/PlayResultController.cs b/TaikoLocalServer/Controllers/PlayResultController.cs index 4b32201..c105ac8 100644 --- a/TaikoLocalServer/Controllers/PlayResultController.cs +++ b/TaikoLocalServer/Controllers/PlayResultController.cs @@ -1,7 +1,5 @@ using System.Globalization; using System.Text.Json; -using Microsoft.EntityFrameworkCore; -using ProtoBuf; namespace TaikoLocalServer.Controllers; diff --git a/TaikoLocalServer/GlobalUsings.cs b/TaikoLocalServer/GlobalUsings.cs index e49ba37..13e9bfb 100644 --- a/TaikoLocalServer/GlobalUsings.cs +++ b/TaikoLocalServer/GlobalUsings.cs @@ -1,5 +1,7 @@ // Global using directives global using Microsoft.AspNetCore.Mvc; +global using Microsoft.EntityFrameworkCore; +global using ProtoBuf; global using Swan.Formatters; global using taiko.game; global using TaikoLocalServer.Common; diff --git a/TaikoLocalServer/Program.cs b/TaikoLocalServer/Program.cs index ecbb062..a375d74 100644 --- a/TaikoLocalServer/Program.cs +++ b/TaikoLocalServer/Program.cs @@ -1,7 +1,6 @@ using System.Security.Authentication; using Microsoft.AspNetCore.HttpLogging; using Microsoft.AspNetCore.HttpOverrides; -using Microsoft.EntityFrameworkCore; using TaikoLocalServer.Middlewares; var builder = WebApplication.CreateBuilder(args);