24 lines
564 B
C#
24 lines
564 B
C#
![]() |
using Back.Common.Enums;
|
|||
|
using Back.Data.Models;
|
|||
|
using Microsoft.AspNetCore.Authorization;
|
|||
|
using Microsoft.AspNetCore.Http;
|
|||
|
using Microsoft.AspNetCore.Mvc;
|
|||
|
using Shared.DTOs;
|
|||
|
|
|||
|
namespace Back.Controllers
|
|||
|
{
|
|||
|
[Route("api/[controller]")]
|
|||
|
[Authorize]
|
|||
|
[ApiController]
|
|||
|
public class TicketController : ControllerBase
|
|||
|
{
|
|||
|
|
|||
|
[HttpPost("NewTicketNoAuthentication")]
|
|||
|
[AllowAnonymous]
|
|||
|
public async Task<ActionResult<int>> NewTicketNoAuthentication(CTicketNoAuthenticationDto item)
|
|||
|
{
|
|||
|
return Ok();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|