|
|
@ -1,9 +1,9 @@ |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Web; |
|
|
|
using PetaPoco; |
|
|
|
using System.Web.Mvc; |
|
|
|
|
|
|
|
using Pingchuan.BeijingSafeguard.BLL; |
|
|
|
using Pingchuan.BeijingSafeguard.Model; |
|
|
|
|
|
|
|
namespace Pingchuan.BeijingSafeguard.App.Controllers |
|
|
|
{ |
|
|
|
public class ConfigManagementController : Controller |
|
|
@ -13,5 +13,15 @@ namespace Pingchuan.BeijingSafeguard.App.Controllers |
|
|
|
{ |
|
|
|
return View(); |
|
|
|
} |
|
|
|
|
|
|
|
public static int Update(Config config) |
|
|
|
{ |
|
|
|
return ConfigBLL.Update(config); |
|
|
|
} |
|
|
|
|
|
|
|
public static Page<Config> Query(int pageIndex, int pageSize) |
|
|
|
{ |
|
|
|
return ConfigBLL.Query(pageIndex, pageSize); |
|
|
|
} |
|
|
|
} |
|
|
|
} |