This commit is contained in:
@@ -1,11 +1,4 @@
|
|||||||
using ChessDotNet;
|
namespace TURN.Services.Chess.Controllers
|
||||||
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")]
|
[Authorize(AuthenticationSchemes = AuthSchemes, Roles = "admin")]
|
||||||
[Route("/[controller]")]
|
[Route("/[controller]")]
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
namespace TURN.Services.Chess.DBModel
|
||||||
|
|
||||||
namespace TURN.Services.Chess.DBModel
|
|
||||||
{
|
{
|
||||||
public partial class ModelBaseContext : DbContext
|
public partial class ModelBaseContext : DbContext
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user