Laservall_manager_system/VOL.WebApi/Controllers/ApiHomeController.cs

21 lines
441 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using VOL.Core.DbContext;
using Microsoft.AspNetCore.Authorization;
namespace VOL.WebApi.Controllers
{
[AllowAnonymous]
public class ApiHomeController : Controller
{
public IActionResult Index()
{
return new RedirectResult("/swagger/");
}
}
}