Laservall_manager_system/LM.WebApi/Controllers/ApiHomeController.cs

21 lines
439 B
C#

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