diff options
Diffstat (limited to 'api/WhatApi/Endpoints/GetTermsPageEndpoint.cs')
| -rw-r--r-- | api/WhatApi/Endpoints/GetTermsPageEndpoint.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/api/WhatApi/Endpoints/GetTermsPageEndpoint.cs b/api/WhatApi/Endpoints/GetTermsPageEndpoint.cs new file mode 100644 index 0000000..230c8b3 --- /dev/null +++ b/api/WhatApi/Endpoints/GetTermsPageEndpoint.cs @@ -0,0 +1,13 @@ +using WhatApi.Templates; + +namespace WhatApi.Endpoints; + +public class GetTermsPageEndpoint : BaseEndpoint +{ + + [AllowAnonymous] + [HttpGet("~/terms")] + public ActionResult Handle() { + return Content(TemplateFulfiller.WebTermsPage(), "text/html"); + } +}
\ No newline at end of file |
