2017-04-06 17:55:24 +08:00
|
|
|
|
using Bootstrap.DataAccess;
|
2017-04-09 14:30:10 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
2017-04-06 17:55:24 +08:00
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Admin.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class WSController : ApiController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="value"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet]
|
2017-04-09 14:30:10 +08:00
|
|
|
|
public List<MessageBody> Get()
|
2017-04-06 17:55:24 +08:00
|
|
|
|
{
|
2017-04-09 14:30:10 +08:00
|
|
|
|
return NotificationHelper.MessagePool.ToList();
|
2017-04-06 17:55:24 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|