using Microsoft.AspNetCore.Mvc; namespace Api.SeaHavenIndustries.Controllers { [ApiController] [Route("api/dispatch")] public class DispatchPublicController : Controller { [HttpGet("accept/{token}")] public IActionResult Accept(string token) { return Content(BuildHtml(), "text/html"); } private static string BuildHtml() { return @" Link Expired - Sea Haven Industries
!

Link No Longer Active

This dispatch accept link has been retired. Please use the vendor portal link in your most recent dispatch email, or contact your dispatcher for a new link.

"; } } }