From 25e6c093bca42b30cfe4c2608a6a2f0af1466fcc Mon Sep 17 00:00:00 2001 From: Aleksandr Popov Date: Sun, 25 Jun 2023 18:36:34 +0200 Subject: [PATCH] fix --- TURN.Services.Chess/Controllers/TurnController.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/TURN.Services.Chess/Controllers/TurnController.cs b/TURN.Services.Chess/Controllers/TurnController.cs index 0064331..d1cf0e1 100644 --- a/TURN.Services.Chess/Controllers/TurnController.cs +++ b/TURN.Services.Chess/Controllers/TurnController.cs @@ -1,4 +1,11 @@ -namespace TURN.Services.Chess.Controllers +using ChessDotNet; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using NLog; +using TURN.Services.Chess.DBModel; + +namespace TURN.Services.Chess.Controllers { [Authorize(AuthenticationSchemes = AuthSchemes, Roles = "admin")] [Route("/[controller]")]