-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathReflectionController.cs
More file actions
35 lines (30 loc) · 1.05 KB
/
ReflectionController.cs
File metadata and controls
35 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using cloudscribe.Web.Navigation;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NavigationDemo.Web.Controllers
{
public class ReflectionController : Controller
{
[NavNode(Key = "{Prefix}ReflectionIndex", ParentKey = "{Prefix}Home", Order = -9,
Text = "Reflection", ResourceType = typeof(Resources.MyResource))]
public virtual IActionResult Index()
{
return View();
}
[NavNode(Key = "{Prefix}ReflectionMulan", ParentKey = "{Prefix}ReflectionIndex",
Text = "Mulan", ResourceType = typeof(Resources.MyResource))]
public IActionResult Mulan()
{
return View();
}
[NavNode(Key = "{Prefix}ReflectionMushu", ParentKey = "{Prefix}ReflectionMulan",
Text = "Mushu", ResourceType = typeof(Resources.MyResource))]
public IActionResult Mushu()
{
return View();
}
}
}