...
This commit is contained in:
23
Back/Controllers/TicketController.cs
Normal file
23
Back/Controllers/TicketController.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user