Skip to content

Commit 72adb9a

Browse files
committed
Fix namespace error
1 parent 83b9f34 commit 72adb9a

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

src/Initium/Controllers/ApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Net;
22
using Initium.Exceptions;
3-
using Initium.Infrastructure;
43
using Initium.Infrastructure.Filters;
4+
using Initium.Services;
55
using Microsoft.AspNetCore.Mvc;
66

77
namespace Initium.Controllers;

src/Initium/Infrastructure/Extensions/ServiceExtension.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Security.Claims;
2+
using Initium.Services;
23
using Microsoft.AspNetCore.Http;
34

45
namespace Initium.Infrastructure.Extensions;

src/Initium/Initium.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</PropertyGroup>
2424

2525
<ItemGroup>
26-
<FrameworkReference Include="Microsoft.AspNetCore.App" Version="2.2.8"/>
26+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

src/Initium/Services/BaseService.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Security.Claims;
33
using Microsoft.AspNetCore.Http;
44

5-
namespace Initium.Infrastructure;
5+
namespace Initium.Services;
66

77
[SuppressMessage("ReSharper", "CollectionNeverQueried.Global")]
88
public abstract class BaseService
@@ -31,4 +31,7 @@ protected internal TService Set<TService>(Action<TService> setter) where TServic
3131
setter((TService)this);
3232
return (TService)this;
3333
}
34-
}
34+
}
35+
36+
// public class BaseService<TEntity> : BaseService where TEntity : BaseEntity;
37+
// public class BaseService<TEntity, TKey> : BaseService where TEntity : BaseEntity<TKey>;

src/Initium/Workers/BaseWorker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Diagnostics.CodeAnalysis;
22
using Microsoft.Extensions.Hosting;
33

4-
namespace Initium.Infrastructure;
4+
namespace Initium.Workers;
55

66
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
77
[SuppressMessage("ReSharper", "UnusedParameter.Global")]

0 commit comments

Comments
 (0)