23 lines
493 B
C#
23 lines
493 B
C#
using Bootstrap.DataAccess;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Bootstrap.Admin.Controllers.Api
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[Route("api/[controller]")]
|
|
public class TasksController : Controller
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
[HttpGet]
|
|
public IEnumerable<Task> Get()
|
|
{
|
|
return TaskHelper.RetrieveTasks();
|
|
}
|
|
}
|
|
} |