From 057ae4cde73ed7762d36060b4163dd81bcdb1853 Mon Sep 17 00:00:00 2001 From: Chika Date: Sun, 15 Nov 2020 22:16:01 +0300 Subject: [PATCH] fix send post values #2 --- .../Post/PostValues.cs | 35 +++++++++++++++---- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/EvoCalculator.Core.Calculation/Post/PostValues.cs b/EvoCalculator.Core.Calculation/Post/PostValues.cs index d6a480e..cbdbda6 100644 --- a/EvoCalculator.Core.Calculation/Post/PostValues.cs +++ b/EvoCalculator.Core.Calculation/Post/PostValues.cs @@ -15,13 +15,34 @@ { return new { - BaseCost = BaseCost.Value, - BonusBase = BonusBase.Value, - PriceUP = PriceUP.Value, - PriceUP_PR = PriceUP_PR.Value, - PriceUP_Year = PriceUP_Year.Value, - NPVNI = NPVNI.Value, - BonusResult = BonusResult.Value + BaseCost = new + { + BaseCost.Value, + }, + BonusBase = new + { + BonusBase.Value, + }, + PriceUP = new + { + PriceUP.Value, + }, + PriceUP_PR = new + { + PriceUP_PR.Value, + }, + PriceUP_Year = new + { + PriceUP_Year.Value, + }, + nPVNI = new + { + NPVNI.Value, + }, + BonusResult = new + { + BonusResult.Value + } }; }