using WhatApi.Templates; namespace WhatApi.Endpoints; public class GetLoginPageEndpoint : BaseEndpoint { [AllowAnonymous] [HttpGet("~/login")] public ActionResult Handle(string? error = null) { return Content(TemplateFulfiller.WebLoginPage(new TemplateFulfiller.WebLoginModel() { Error = error ?? string.Empty }), "text/html"); } }