aboutsummaryrefslogtreecommitdiffstats
path: root/src/Endpoints/CreateRadioIndex.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Endpoints/CreateRadioIndex.cs')
-rw-r--r--src/Endpoints/CreateRadioIndex.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/Endpoints/CreateRadioIndex.cs b/src/Endpoints/CreateRadioIndex.cs
deleted file mode 100644
index 1ef19ab..0000000
--- a/src/Endpoints/CreateRadioIndex.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using Microsoft.AspNetCore.Mvc;
-
-namespace I2R.LightNews.Endpoints;
-
-public class RadioSearchEndpoint : EndpointBase
-{
- private readonly NrkRadioService _radio;
-
- public RadioSearchEndpoint(NrkRadioService radio) {
- _radio = radio;
- }
-
- [HttpGet("~/create-radio-index")]
- public async Task<ActionResult> HandleASync() {
- await _radio.CreateIndex();
- return Ok();
- }
-} \ No newline at end of file