我滴个乖乖
This commit is contained in:
@@ -37,10 +37,10 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\TightWiki.Engine.Implementation\TightWiki.Engine.Implementation.csproj" />
|
||||
<ProjectReference Include="..\TightWiki.Engine\TightWiki.Engine.csproj" />
|
||||
<ProjectReference Include="..\TightWiki.Models\TightWiki.Models.csproj" />
|
||||
<ProjectReference Include="..\TightWiki.Repository\TightWiki.Repository.csproj" />
|
||||
<ProjectReference Include="..\ZelWiki.Engine.Implementation\ZelWiki.Engine.Implementation.csproj" />
|
||||
<ProjectReference Include="..\ZelWiki.Engine\ZelWiki.Engine.csproj" />
|
||||
<ProjectReference Include="..\ZelWiki.Models\ZelWiki.Models.csproj" />
|
||||
<ProjectReference Include="..\ZelWiki.Repository\ZelWiki.Repository.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
using NTDLS.Helpers;
|
||||
using System.Security.Claims;
|
||||
using System.Text;
|
||||
using TightWiki.Engine.Library.Interfaces;
|
||||
using TightWiki.Library;
|
||||
using TightWiki.Models;
|
||||
using TightWiki.Models.DataModels;
|
||||
using TightWiki.Repository;
|
||||
using ZelWiki.Engine.Implementation;
|
||||
using ZelWiki.Engine.Library.Interfaces;
|
||||
using ZelWiki.Library;
|
||||
using ZelWiki.Models;
|
||||
using ZelWiki.Models.DataModels;
|
||||
using ZelWiki.Repository;
|
||||
|
||||
namespace DummyPageGenerator
|
||||
{
|
||||
@@ -253,7 +254,7 @@ namespace DummyPageGenerator
|
||||
ModifiedDate = DateTime.UtcNow,
|
||||
Description = string.Join(' ', WordsRepository.GetRandomWords(_random.Next(3, 5))),
|
||||
};
|
||||
int newPageId = TightWiki.Engine.Implementation.Helpers.UpsertPage(engine, page);
|
||||
int newPageId = Helpers.UpsertPage(engine, page);
|
||||
|
||||
if (_random.Next(100) >= 70)
|
||||
{
|
||||
@@ -315,7 +316,7 @@ namespace DummyPageGenerator
|
||||
+ "\r\n" + bottomText.Trim();
|
||||
pageToModify.ModifiedByUserId = userId;
|
||||
pageToModify.ModifiedByUserId = userId;
|
||||
TightWiki.Engine.Implementation.Helpers.UpsertPage(engine, pageToModify);
|
||||
Helpers.UpsertPage(engine, pageToModify);
|
||||
|
||||
if (_random.Next(100) >= 90)
|
||||
{
|
||||
|
||||
@@ -7,11 +7,11 @@ using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using TightWiki.Engine;
|
||||
using TightWiki.Engine.Implementation;
|
||||
using TightWiki.Engine.Library.Interfaces;
|
||||
using TightWiki.Library;
|
||||
using TightWiki.Repository;
|
||||
using ZelWiki.Engine;
|
||||
using ZelWiki.Engine.Implementation;
|
||||
using ZelWiki.Engine.Library.Interfaces;
|
||||
using ZelWiki.Library;
|
||||
using ZelWiki.Repository;
|
||||
|
||||
namespace DummyPageGenerator
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user