diff options
Diffstat (limited to 'Timeline/Controllers/TodoListController.cs')
-rw-r--r-- | Timeline/Controllers/TodoListController.cs | 29 |
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); - } - } -} |