diff --git a/WebNovelPortalAPI/DTO/ScrapeNovelRequest.cs b/Shared/Models/DTO/ScrapeNovelRequest.cs similarity index 70% rename from WebNovelPortalAPI/DTO/ScrapeNovelRequest.cs rename to Shared/Models/DTO/ScrapeNovelRequest.cs index 9878bd9..b5cd979 100644 --- a/WebNovelPortalAPI/DTO/ScrapeNovelRequest.cs +++ b/Shared/Models/DTO/ScrapeNovelRequest.cs @@ -1,4 +1,4 @@ -namespace WebNovelPortalAPI.DTO; +namespace Shared.Models.DTO; public class ScrapeNovelRequest { diff --git a/WebNovelPortal/AccessLayers/WebApiAccessLayer.cs b/WebNovelPortal/AccessLayers/WebApiAccessLayer.cs index 6d0b058..f862f43 100644 --- a/WebNovelPortal/AccessLayers/WebApiAccessLayer.cs +++ b/WebNovelPortal/AccessLayers/WebApiAccessLayer.cs @@ -1,6 +1,6 @@ using DBConnection.Models; using Shared.AccessLayers; -using WebNovelPortalAPI.DTO; +using Shared.Models.DTO; namespace WebNovelPortal.AccessLayers; diff --git a/WebNovelPortal/WebNovelPortal.csproj b/WebNovelPortal/WebNovelPortal.csproj index 011d7b8..7feead2 100644 --- a/WebNovelPortal/WebNovelPortal.csproj +++ b/WebNovelPortal/WebNovelPortal.csproj @@ -14,7 +14,6 @@ - diff --git a/WebNovelPortalAPI/Controllers/NovelController.cs b/WebNovelPortalAPI/Controllers/NovelController.cs index 8343566..f5f80ae 100644 --- a/WebNovelPortalAPI/Controllers/NovelController.cs +++ b/WebNovelPortalAPI/Controllers/NovelController.cs @@ -8,7 +8,7 @@ using DBConnection.Repositories; using DBConnection.Repositories.Interfaces; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; -using WebNovelPortalAPI.DTO; +using Shared.Models.DTO; using WebNovelPortalAPI.Scrapers; namespace WebNovelPortalAPI.Controllers diff --git a/WebNovelPortalAPI/WebNovelPortalAPI.csproj b/WebNovelPortalAPI/WebNovelPortalAPI.csproj index cdd980a..f011053 100644 --- a/WebNovelPortalAPI/WebNovelPortalAPI.csproj +++ b/WebNovelPortalAPI/WebNovelPortalAPI.csproj @@ -21,6 +21,7 @@ +