From 31e67ebad8a5e329647389eab67c443120f757c3 Mon Sep 17 00:00:00 2001 From: Aaron Po Date: Wed, 11 Feb 2026 13:25:22 -0500 Subject: [PATCH] Update namespace from WebAPI to API.Core --- src/Core/API/API.Core/API.Core.csproj | 2 +- src/Core/API/API.Core/Controllers/AuthController.cs | 3 +-- src/Core/API/API.Core/Controllers/NotFoundController.cs | 2 +- src/Core/API/API.Core/Controllers/UserController.cs | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Core/API/API.Core/API.Core.csproj b/src/Core/API/API.Core/API.Core.csproj index b0971f5..badce45 100644 --- a/src/Core/API/API.Core/API.Core.csproj +++ b/src/Core/API/API.Core/API.Core.csproj @@ -3,7 +3,7 @@ net10.0 enable enable - WebAPI + API.Core Linux diff --git a/src/Core/API/API.Core/Controllers/AuthController.cs b/src/Core/API/API.Core/Controllers/AuthController.cs index a20f75c..a0caf65 100644 --- a/src/Core/API/API.Core/Controllers/AuthController.cs +++ b/src/Core/API/API.Core/Controllers/AuthController.cs @@ -1,10 +1,9 @@ -using System.Net; using Domain.Core.Entities; using Microsoft.AspNetCore.Mvc; using Service.Core.Auth; using Service.Core.Jwt; -namespace WebAPI.Controllers +namespace API.Core.Controllers { [ApiController] [Route("api/[controller]")] diff --git a/src/Core/API/API.Core/Controllers/NotFoundController.cs b/src/Core/API/API.Core/Controllers/NotFoundController.cs index 52fb2aa..df2521c 100644 --- a/src/Core/API/API.Core/Controllers/NotFoundController.cs +++ b/src/Core/API/API.Core/Controllers/NotFoundController.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Mvc; -namespace WebAPI.Controllers +namespace API.Core.Controllers { [ApiController] [ApiExplorerSettings(IgnoreApi = true)] diff --git a/src/Core/API/API.Core/Controllers/UserController.cs b/src/Core/API/API.Core/Controllers/UserController.cs index a000796..5077e44 100644 --- a/src/Core/API/API.Core/Controllers/UserController.cs +++ b/src/Core/API/API.Core/Controllers/UserController.cs @@ -2,7 +2,7 @@ using Domain.Core.Entities; using Microsoft.AspNetCore.Mvc; using Service.Core.User; -namespace WebAPI.Controllers +namespace API.Core.Controllers { [ApiController] [Route("api/[controller]")]