You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
597 B
22 lines
597 B
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
|
|
|
namespace Teso_API.AuthControllers
|
|
{
|
|
[AllowAnonymous, Route("api/version")]
|
|
[ApiController]
|
|
public class VersionController : ControllerBase
|
|
{
|
|
[Route("current"), HttpGet]
|
|
public ActionResult<string> Get()
|
|
{
|
|
return Ok("version 1.0.0");
|
|
}
|
|
}
|
|
}
|
|
|