Add project files.
This commit is contained in:
20
KTUSA PS/Controllers/TestController.cs
Normal file
20
KTUSA PS/Controllers/TestController.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace KTUSA_PS.Controllers
|
||||
{
|
||||
[Route("[controller]")]
|
||||
[Authorize]
|
||||
[ApiController]
|
||||
public class TestController : ControllerBase
|
||||
{
|
||||
[HttpGet]
|
||||
public bool Index() => true;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user