Rename AppsHelper to AppService

This commit is contained in:
nicolas.dorier
2019-02-19 13:04:58 +09:00
parent b1b231e645
commit aedad497e8
9 changed files with 432 additions and 397 deletions

View File

@@ -83,7 +83,7 @@ namespace BTCPayServer.Controllers
ResetEvery = Enum.GetName(typeof(CrowdfundResetEvery), settings.ResetEvery),
UseAllStoreInvoices = app.TagAllInvoices,
AppId = appId,
SearchTerm = app.TagAllInvoices ? $"storeid:{app.StoreDataId}" : $"orderid:{AppsHelper.GetCrowdfundOrderId(appId)}",
SearchTerm = app.TagAllInvoices ? $"storeid:{app.StoreDataId}" : $"orderid:{AppService.GetCrowdfundOrderId(appId)}",
DisplayPerksRanking = settings.DisplayPerksRanking,
SortPerksByPopularity = settings.SortPerksByPopularity
};
@@ -98,7 +98,7 @@ namespace BTCPayServer.Controllers
try
{
_AppsHelper.Parse(vm.PerksTemplate, vm.TargetCurrency).ToString();
_AppService.Parse(vm.PerksTemplate, vm.TargetCurrency).ToString();
}
catch
{