using LeaRun.Application.Entity.PublicInfoManage;
using System.Collections.Generic;
namespace LeaRun.Application.IService.PublicInfoManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2015.12.8 11:31
/// 描 述:邮件分类
///
public interface IEmailCategoryService
{
#region 获取数据
///
/// 分类列表
///
/// 用户Id
///
IEnumerable GetList(string UserId);
///
/// 分类实体
///
/// 主键值
///
EmailCategoryEntity GetEntity(string keyValue);
#endregion
#region 提交数据
///
/// 删除分类
///
/// 主键
void RemoveForm(string keyValue);
///
/// 保存分类表单(新增、修改)
///
/// 主键值
/// 分类实体
///
void SaveForm(string keyValue, EmailCategoryEntity emailCategoryEntity);
#endregion
}
}