2016-11-17 09:41:13 +08:00
|
|
|
|
using Bootstrap.DataAccess;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.Admin.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class TasksController : ApiController
|
|
|
|
|
{
|
|
|
|
|
[HttpGet]
|
2016-11-18 20:49:44 +08:00
|
|
|
|
public IEnumerable<Task> Get()
|
2016-11-17 09:41:13 +08:00
|
|
|
|
{
|
2016-11-18 20:49:44 +08:00
|
|
|
|
return TaskHelper.RetrieveTasks();
|
2016-11-17 09:41:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|