Add remaining project files
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace DeluxeBackend.Controllers
|
||||
{
|
||||
[Route("DataCollection")]
|
||||
[ApiController]
|
||||
public class DataCollectionController : ControllerBase
|
||||
{
|
||||
[HttpPost("data/{Event}")]
|
||||
[Authorize(Roles = "gameClient")]
|
||||
public async Task<IActionResult> GetData([FromRoute] string Event)
|
||||
{
|
||||
return Ok(new { Success = true });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user