using System;
using Lottomat.Application.Entity.SystemManage;
using Lottomat.Util.WebControl;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Lottomat.Application.IService.SystemManage
{
///
/// 版 本 1.0
/// Copyright (c) 2016-2017
/// 创 建:超级管理员
/// 日 期:2017-10-25 16:17
/// 描 述:系统接口密钥管理
///
public interface IAppKeyService
{
#region 获取数据
///
/// 获取列表
///
/// 分页
/// 查询参数
/// 返回分页列表
IEnumerable GetPageList(Pagination pagination, string queryJson);
///
/// 获取列表
///
/// 查询参数
/// 返回列表
IEnumerable GetList(string queryJson);
///
/// 获取实体
///
/// 主键值
///
AppKeyEntity GetEntity(string keyValue);
AppKeyEntity GetEntity(Expression> condition);
#endregion
#region 提交数据
///
/// 删除数据
///
/// 主键
void RemoveForm(string keyValue);
///
/// 保存表单(新增、修改)
///
/// 主键值
/// 实体对象
///
void SaveForm(string keyValue, AppKeyEntity entity);
#endregion
}
}