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.
46 lines
834 B
46 lines
834 B
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace IoTCenter.Controllers
|
|
{
|
|
[Authorize]
|
|
//[Device]
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class HomeController : Controller
|
|
{
|
|
public HomeController()
|
|
{
|
|
}
|
|
|
|
[AllowAnonymous]
|
|
public IActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Product()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Device()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Organ()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Nodes()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Node()
|
|
{
|
|
return View();
|
|
}
|
|
}
|
|
} |