using LeaRun.Application.Entity.PublicInfoManage;
using LeaRun.Util.WebControl;
using System.Collections.Generic;
namespace LeaRun.Application.IService.PublicInfoManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2015.12.7 16:40
/// 描 述:新闻中心
///
public interface INewsService
{
#region 获取数据
///
/// 新闻列表
///
/// 分页
/// 查询参数
///
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 新闻实体
///
/// 主键值
///
NewsEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 删除新闻
///
/// 主键
void RemoveForm(string keyValue);
///
/// 保存新闻表单(新增、修改)
///
/// 主键值
/// 新闻实体
///
void SaveForm(string keyValue, NewsEntity newsEntity);
#endregion
}
}