mirror of
https://github.com/TbT480jcspy/Iris-Rec-2023-Server-Code.git
synced 2026-09-08 06:31:23 -07:00
31 lines
779 B
C#
31 lines
779 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Newtonsoft.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace ir23.Controllers
|
|
{
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class customAvatarItemsController : ControllerBase
|
|
{
|
|
[HttpGet("v1/isCreationAllowedForAccount")]
|
|
public IActionResult idefk()
|
|
{
|
|
return Ok(new iscreationallowedforaccountresponse
|
|
{
|
|
success = true,
|
|
value = null
|
|
});
|
|
}
|
|
|
|
|
|
|
|
public class iscreationallowedforaccountresponse
|
|
{
|
|
[JsonPropertyName("success")] public bool success { get; set; }
|
|
[JsonPropertyName("value")] public string value { get; set; }
|
|
}
|
|
}
|
|
}
|