This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user