Browse Source

Removed billing index page

master
Teknikode 7 months ago
parent
commit
5a240c74cc
  1. 11
      Teknik/App_Data/endpointMappings.json
  2. 6
      Teknik/Areas/Billing/Controllers/BillingController.cs

11
Teknik/App_Data/endpointMappings.json

@ -220,17 +220,6 @@ @@ -220,17 +220,6 @@
"action": "Index"
}
},
{
"Name": "Billing.Index",
"HostTypes": [ "Full" ],
"SubDomains": [ "billing" ],
"Pattern": "",
"Area": "Billing",
"Defaults": {
"controller": "Billing",
"action": "Index"
}
},
{
"Name": "Billing.Subscriptions",
"HostTypes": [ "Full" ],

6
Teknik/Areas/Billing/Controllers/BillingController.cs

@ -26,12 +26,6 @@ namespace Teknik.Areas.Billing.Controllers @@ -26,12 +26,6 @@ namespace Teknik.Areas.Billing.Controllers
{
public BillingController(ILogger<Logger> logger, Config config, TeknikEntities dbContext) : base(logger, config, dbContext) { }
[AllowAnonymous]
public IActionResult Index()
{
return View(new BillingViewModel() { StripePublishKey = _config.BillingConfig.StripePublishApiKey });
}
[AllowAnonymous]
[TrackPageView]
public IActionResult ViewSubscriptions()

Loading…
Cancel
Save