Add remaining project files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using DeluxeBackend.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace DeluxeBackend.Controllers.Api
|
||||
{
|
||||
[Route("api/roomkeys")]
|
||||
[ApiController]
|
||||
public class RoomKeysController : ControllerBase
|
||||
{
|
||||
[HttpGet("v1/mine")]
|
||||
[Authorize(Roles = "gameClient")]
|
||||
public async Task<IActionResult> None()
|
||||
{
|
||||
return Ok(new List<object>());
|
||||
}
|
||||
[HttpGet("v1/room")]
|
||||
[Authorize(Roles = "gameClient")]
|
||||
public async Task<IActionResult> Room()
|
||||
{
|
||||
return Ok(new List<object>());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user