Remove references to FusionCache
This commit is contained in:
parent
4d058649db
commit
47fda43e31
2 changed files with 1 additions and 7 deletions
|
@ -78,7 +78,6 @@ builder.Services.AddControllers().AddJsonOptions(x =>
|
|||
x.JsonSerializerOptions.ReferenceHandler = System.Text.Json.Serialization.ReferenceHandler.IgnoreCycles;
|
||||
});
|
||||
|
||||
builder.Services.AddFusionCache();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
builder.Services.AddSwaggerGen();
|
||||
|
||||
|
|
|
@ -1,16 +1,11 @@
|
|||
using LANCommander.Data;
|
||||
using LANCommander.Data.Models;
|
||||
using System.Diagnostics;
|
||||
using ZiggyCreatures.Caching.Fusion;
|
||||
|
||||
namespace LANCommander.Services
|
||||
{
|
||||
public class ServerService : BaseDatabaseService<Server>
|
||||
{
|
||||
private IFusionCache Cache;
|
||||
public ServerService(DatabaseContext dbContext, IHttpContextAccessor httpContextAccessor, IFusionCache cache) : base(dbContext, httpContextAccessor)
|
||||
{
|
||||
Cache = cache;
|
||||
}
|
||||
public ServerService(DatabaseContext dbContext, IHttpContextAccessor httpContextAccessor) : base(dbContext, httpContextAccessor) { }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue