aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Controllers
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-04 19:58:48 +0800
committercrupest <crupest@outlook.com>2019-03-04 19:58:48 +0800
commit1715b3a618ddffc28177e58ae21c91b30d586ccf (patch)
tree3bef8b64aea0792c3b415fa9236837afd1a2577e /Timeline/Controllers
parent80343fab6624f74f0777968dd213c3a26e65890d (diff)
parent8033d6523885486c24af2bdd57a24b0fd62d0b00 (diff)
downloadtimeline-1715b3a618ddffc28177e58ae21c91b30d586ccf.tar.gz
timeline-1715b3a618ddffc28177e58ae21c91b30d586ccf.tar.bz2
timeline-1715b3a618ddffc28177e58ae21c91b30d586ccf.zip
Merge branch 'master' into user
Diffstat (limited to 'Timeline/Controllers')
-rw-r--r--Timeline/Controllers/TodoListController.cs29
-rw-r--r--Timeline/Controllers/UserTestController.cs4
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;