Move more to global using
This commit is contained in:
parent
9bde113558
commit
01cae7bc8b
@ -1,6 +1,4 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace TaikoLocalServer.Context
|
||||
namespace TaikoLocalServer.Context
|
||||
{
|
||||
public partial class TaikoDbContext : DbContext
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace TaikoLocalServer.Context;
|
||||
namespace TaikoLocalServer.Context;
|
||||
|
||||
public partial class TaikoDbContext
|
||||
{
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
using Swan.Mapping;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/getdanodai.php")]
|
||||
[ApiController]
|
||||
|
@ -1,7 +1,4 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Swan.Mapping;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
[Route("/v12r03/chassis/getdanscore.php")]
|
||||
[ApiController]
|
||||
|
@ -1,7 +1,5 @@
|
||||
using System.Globalization;
|
||||
using System.Text.Json;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using ProtoBuf;
|
||||
|
||||
namespace TaikoLocalServer.Controllers;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user