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 @"
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.