Move DTOs out to remove dependency on api
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
namespace WebNovelPortalAPI.DTO;
|
namespace Shared.Models.DTO;
|
||||||
|
|
||||||
public class ScrapeNovelRequest
|
public class ScrapeNovelRequest
|
||||||
{
|
{
|
||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user