初始化项目
This commit is contained in:
27
UI/Controllers/AppController.cs
Normal file
27
UI/Controllers/AppController.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Services.Cache;
|
||||
using Services.Manager;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace UI.Controllers
|
||||
{
|
||||
public class AppController : BaseController
|
||||
{
|
||||
// GET: App
|
||||
public ActionResult Index(int id)
|
||||
{
|
||||
ViewBag.Select = 2;
|
||||
ViewBag.SelectApp = id;
|
||||
ViewBag.App = CacheHelp.cacheSysApp.FirstOrDefault(u => u.Id == id );
|
||||
ViewBag.AuthoType = CacheHelp.cacheSysAuthoStatusType;
|
||||
return View();
|
||||
}
|
||||
public ActionResult List()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user