This commit is contained in:
Aleksandr Popov
2023-06-25 18:36:34 +02:00
parent 855641a272
commit 25e6c093bc
@@ -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]")]