This commit is contained in:
Aleksandr Popov
2023-06-25 18:36:27 +02:00
2 changed files with 2 additions and 11 deletions
@@ -1,11 +1,4 @@
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
namespace TURN.Services.Chess.Controllers
{
[Authorize(AuthenticationSchemes = AuthSchemes, Roles = "admin")]
[Route("/[controller]")]
@@ -1,6 +1,4 @@
using Microsoft.EntityFrameworkCore;
namespace TURN.Services.Chess.DBModel
namespace TURN.Services.Chess.DBModel
{
public partial class ModelBaseContext : DbContext
{