using Lottomat.Application.Entity.PublicInfoManage;
using Lottomat.Util.WebControl;
using System.Collections.Generic;
namespace Lottomat.Application.IService.PublicInfoManage
{
///
/// 版 本 1.0
/// Copyright (c) 2016-2017
/// 创 建:超级管理员
/// 日 期:2017-08-02 12:20
/// 描 述:资源分享
///
public interface IResourcesService
{
#region 获取数据
///
/// 获取列表
///
/// 分页
/// 查询参数
/// 返回分页列表
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 获取列表
///
/// 查询参数
/// 返回列表
IEnumerable GetList(string queryJson);
///
/// 获取实体
///
/// 主键值
///
ResourcesEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 删除数据
///
/// 主键
void RemoveForm(string keyValue);
///
/// 保存表单(新增、修改)
///
/// 主键值
/// 实体对象
///
void SaveForm(string keyValue, ResourcesEntity entity);
#endregion
}
}