Run dotnet format

This commit is contained in:
nicolas.dorier
2020-06-28 17:55:27 +09:00
parent 18abc4913b
commit 51514252b6
290 changed files with 1916 additions and 1881 deletions

View File

@@ -24,7 +24,8 @@ namespace BTCPayServer.Controllers
{
var existing = store.GetStoreBlob().CoinSwitchSettings;
if (existing == null) return;
if (existing == null)
return;
vm.MerchantId = existing.MerchantId;
vm.Enabled = existing.Enabled;
vm.Mode = existing.Mode;
@@ -49,12 +50,12 @@ namespace BTCPayServer.Controllers
var coinSwitchSettings = new CoinSwitchSettings()
{
MerchantId = vm.MerchantId,
MerchantId = vm.MerchantId,
Enabled = vm.Enabled,
Mode = vm.Mode,
AmountMarkupPercentage = vm.AmountMarkupPercentage
};
switch (command)
{
case "save":
@@ -63,8 +64,10 @@ namespace BTCPayServer.Controllers
store.SetStoreBlob(storeBlob);
await _Repo.UpdateStore(store);
TempData[WellKnownTempData.SuccessMessage] = "CoinSwitch settings modified";
return RedirectToAction(nameof(UpdateStore), new {
storeId});
return RedirectToAction(nameof(UpdateStore), new
{
storeId
});
default:
return View(vm);