25 lines
718 B
C#
25 lines
718 B
C#
using System.Collections.Generic;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.Common.Layui;
|
|
using WX.CRM.Model.Entity;
|
|
using WX.CRM.Model.QueryMap;
|
|
|
|
namespace WX.CRM.IBLL.Cms
|
|
{
|
|
public interface ICMS_NEWS
|
|
{
|
|
CMS_NEWS GetModel(decimal id);
|
|
/// <summary>
|
|
/// 添加
|
|
/// </summary>
|
|
/// <param name="model"></param>
|
|
/// <returns></returns>
|
|
bool Create(ref ValidationErrors errors, CMS_NEWS model);
|
|
|
|
bool Update(ref ValidationErrors errors, CMS_NEWS model);
|
|
bool UpUploadStatus(ref ValidationErrors errors, decimal id);
|
|
List<CMS_NEWS> GetList(ref Laypage pager, Cms_News_Query param);
|
|
List<CMS_NEWS_LOG> GetLogList(decimal id);
|
|
}
|
|
}
|