Move DTOs out to remove dependency on api
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-07-15 12:34:57 -04:00
parent e6d6b629db
commit 6a2c2a2c33
5 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
namespace WebNovelPortalAPI.DTO; namespace Shared.Models.DTO;
public class ScrapeNovelRequest public class ScrapeNovelRequest
{ {

View File

@@ -1,6 +1,6 @@
using DBConnection.Models; using DBConnection.Models;
using Shared.AccessLayers; using Shared.AccessLayers;
using WebNovelPortalAPI.DTO; using Shared.Models.DTO;
namespace WebNovelPortal.AccessLayers; namespace WebNovelPortal.AccessLayers;

View File

@@ -14,7 +14,6 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\DBConnection\DBConnection.csproj" /> <ProjectReference Include="..\DBConnection\DBConnection.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" /> <ProjectReference Include="..\Shared\Shared.csproj" />
<ProjectReference Include="..\WebNovelPortalAPI\WebNovelPortalAPI.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -8,7 +8,7 @@ using DBConnection.Repositories;
using DBConnection.Repositories.Interfaces; using DBConnection.Repositories.Interfaces;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using WebNovelPortalAPI.DTO; using Shared.Models.DTO;
using WebNovelPortalAPI.Scrapers; using WebNovelPortalAPI.Scrapers;
namespace WebNovelPortalAPI.Controllers namespace WebNovelPortalAPI.Controllers

View File

@@ -21,6 +21,7 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\DBConnection\DBConnection.csproj" /> <ProjectReference Include="..\DBConnection\DBConnection.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>