Initial_commit_SecMPS_v2
This commit is contained in:
21
api_sqlsugar/VolPro.WebApi/Controllers/ApiHomeController.cs
Normal file
21
api_sqlsugar/VolPro.WebApi/Controllers/ApiHomeController.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using VolPro.Core.EFDbContext;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
namespace VolPro.WebApi.Controllers
|
||||
{
|
||||
[AllowAnonymous]
|
||||
public class ApiHomeController : Controller
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
|
||||
return new RedirectResult("/swagger/");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user