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.
28 lines
658 B
28 lines
658 B
using PetaPoco;
|
|
using System.Web.Mvc;
|
|
using System.Collections.Generic;
|
|
|
|
using Pingchuan.BeijingSafeguard.BLL;
|
|
using Pingchuan.BeijingSafeguard.Model;
|
|
|
|
namespace Pingchuan.BeijingSafeguard.App.Controllers
|
|
{
|
|
public class ConfigManagementController : Controller
|
|
{
|
|
// GET: ConfigManagement
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public static int Update(Config config)
|
|
{
|
|
return ConfigBLL.Update(config);
|
|
}
|
|
|
|
public static List<Config> Query(int pageIndex, int pageSize)
|
|
{
|
|
return ConfigBLL.Query(pageIndex, pageSize);
|
|
}
|
|
}
|
|
}
|