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 Get() { return Ok("version 1.0.0"); } } }