using Longbow.Data;
using System.Collections.Generic;
namespace Bootstrap.DataAccess
{
///
///
///
public static class MessageHelper
{
///
/// 收件箱
///
///
public static IEnumerable Inbox(string userName) => DbAdapterManager.Create().Inbox(userName);
///
/// 发件箱
///
///
///
public static IEnumerable SendMail(string userName) => DbAdapterManager.Create().SendMail(userName);
///
/// 垃圾箱
///
///
///
public static IEnumerable Trash(string userName) => DbAdapterManager.Create().Trash(userName);
///
/// 标旗
///
///
///
public static IEnumerable Mark(string userName) => DbAdapterManager.Create().Flag(userName);
///
/// 获取Header处显示的消息列表
///
///
///
public static IEnumerable RetrieveMessagesHeader(string userName) => DbAdapterManager.Create().RetrieveMessagesHeader(userName);
}
}