using System; using System.Collections.Generic; namespace Bootstrap.DataAccess { /// /// /// public static class NotificationsHelper { /// /// /// /// public static IEnumerable RetrieveNotifications() { var ret = new List(); ret.Add(new Notifications() { Title = "测试消息1", Content = "用户注册", RegisterTime = DateTime.Now }); ret.Add(new Notifications() { Title = "测试消息2", Content = "用户注册", RegisterTime = DateTime.Now }); return ret; } } }