diff options
author | crupest <crupest@outlook.com> | 2019-03-04 19:45:49 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-04 19:45:49 +0800 |
commit | 0ae0459be4f9eade994acbca65a60070672854fb (patch) | |
tree | fd003b7971e34f07d12a32274c9d4a1113b0862a /Timeline/Controllers | |
parent | cd28058f07fda57f6569316723f776f1b9b80e50 (diff) | |
download | timeline-0ae0459be4f9eade994acbca65a60070672854fb.tar.gz timeline-0ae0459be4f9eade994acbca65a60070672854fb.tar.bz2 timeline-0ae0459be4f9eade994acbca65a60070672854fb.zip |
Migrate todo page from Azure DevOps WorkItems to Github Issues.
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r-- | Timeline/Controllers/TodoListController.cs | 29 | ||||
-rw-r--r-- | Timeline/Controllers/UserTestController.cs | 4 |
2 files changed, 0 insertions, 33 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); - } - } -} diff --git a/Timeline/Controllers/UserTestController.cs b/Timeline/Controllers/UserTestController.cs index 7fb6850b..cf5cf074 100644 --- a/Timeline/Controllers/UserTestController.cs +++ b/Timeline/Controllers/UserTestController.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; |