aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers/TodoListController.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-03-04 19:57:56 +0800
committerGitHub <noreply@github.com>2019-03-04 19:57:56 +0800
commitaca753fba19a221f1aec65030ba4aec4bc34f576 (patch)
tree552cbe6c50573e2d78e323e5d460db989cdd0a77 /Timeline/Controllers/TodoListController.cs
parent1259f24a7febc35400a10149b72af41dd00617ee (diff)
parentcb58648843160a672ba9427b0abfb2dd87c86206 (diff)
downloadtimeline-aca753fba19a221f1aec65030ba4aec4bc34f576.tar.gz
timeline-aca753fba19a221f1aec65030ba4aec4bc34f576.tar.bz2
timeline-aca753fba19a221f1aec65030ba4aec4bc34f576.zip
Merge pull request #2 from crupest/migrate-todo
Migrate todo page from Azure DevOps WorkItems to Github Issues.
Diffstat (limited to 'Timeline/Controllers/TodoListController.cs')
-rw-r--r--Timeline/Controllers/TodoListController.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/Timeline/Controllers/TodoListController.cs b/Timeline/Controllers/TodoListController.cs
deleted file mode 100644
index 257c1d85..00000000
--- a/Timeline/Controllers/TodoListController.cs
+++ /dev/null
@@ -1,29 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Options;
-using Timeline.Configs;
-
-namespace Timeline.Controllers
-{
- [Route("api/[controller]")]
- public class TodoPageController : Controller
- {
- private readonly IOptionsMonitor<TodoPageConfig> _config;
-
- public TodoPageController(IOptionsMonitor<TodoPageConfig> config)
- {
- _config = config;
- }
-
- [HttpGet("[action]")]
- [AllowAnonymous]
- public ActionResult<AzureDevOpsAccessInfo> AzureDevOpsAccessInfo()
- {
- return Ok(_config.CurrentValue.AzureDevOpsAccessInfo);
- }
- }
-}