Update DI for ArchivesController
This commit is contained in:
parent
c16f61befd
commit
21f8cbd992
1 changed files with 1 additions and 3 deletions
|
@ -14,13 +14,11 @@ namespace LANCommander.Controllers
|
||||||
[Authorize(Roles = "Administrator")]
|
[Authorize(Roles = "Administrator")]
|
||||||
public class ArchivesController : Controller
|
public class ArchivesController : Controller
|
||||||
{
|
{
|
||||||
private readonly DatabaseContext Context;
|
|
||||||
private readonly GameService GameService;
|
private readonly GameService GameService;
|
||||||
private readonly ArchiveService ArchiveService;
|
private readonly ArchiveService ArchiveService;
|
||||||
|
|
||||||
public ArchivesController(DatabaseContext context, GameService gameService, ArchiveService archiveService)
|
public ArchivesController(GameService gameService, ArchiveService archiveService)
|
||||||
{
|
{
|
||||||
Context = context;
|
|
||||||
GameService = gameService;
|
GameService = gameService;
|
||||||
ArchiveService = archiveService;
|
ArchiveService = archiveService;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue