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
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
using DBConnection.Models;
|
||||
using Shared.AccessLayers;
|
||||
using WebNovelPortalAPI.DTO;
|
||||
using Shared.Models.DTO;
|
||||
|
||||
namespace WebNovelPortal.AccessLayers;
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DBConnection\DBConnection.csproj" />
|
||||
<ProjectReference Include="..\Shared\Shared.csproj" />
|
||||
<ProjectReference Include="..\WebNovelPortalAPI\WebNovelPortalAPI.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DBConnection\DBConnection.csproj" />
|
||||
<ProjectReference Include="..\Shared\Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user