Currency dropdown as part of page model

This commit is contained in:
rockstardev
2018-08-14 23:47:41 +02:00
parent 4afd55c441
commit b562094956
4 changed files with 20 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ namespace BTCPayServer.Controllers
UserManager<ApplicationUser> _UserManager;
CurrencyNameTable _Currencies;
InvoiceController _InvoiceController;
BTCPayNetworkProvider _NetworkProvider;
[TempData]
public string StatusMessage { get; set; }
@@ -32,12 +33,14 @@ namespace BTCPayServer.Controllers
UserManager<ApplicationUser> userManager,
ApplicationDbContextFactory contextFactory,
CurrencyNameTable currencies,
InvoiceController invoiceController)
InvoiceController invoiceController,
BTCPayNetworkProvider networkProvider)
{
_InvoiceController = invoiceController;
_UserManager = userManager;
_ContextFactory = contextFactory;
_Currencies = currencies;
_NetworkProvider = networkProvider;
}
public async Task<IActionResult> ListApps()
{