BootstrapAdmin/Bootstrap.Admin/Controllers/TasksController.cs

22 lines
456 B
C#
Raw Permalink Normal View History

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