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.
 
 
 
 

25 lines
532 B

using System;
using System.Web.Mvc;
using System.Collections.Generic;
using Pingchuan.BeijingSafeguard.BLL;
using Pingchuan.BeijingSafeguard.Model;
namespace Pingchuan.BeijingSafeguard.App.Controllers
{
public class ConfigController : Controller
{
// GET: Config
public ActionResult Index()
{
return View();
}
[HttpPost]
public JsonResult All()
{
List<Config> configs = ConfigBLL.All();
return Json(configs);
}
}
}