fix send post values
This commit is contained in:
parent
f203e4ac10
commit
54cec926ff
@ -11,6 +11,20 @@
|
|||||||
public NPVNI NPVNI;
|
public NPVNI NPVNI;
|
||||||
public BonusResult BonusResult;
|
public BonusResult BonusResult;
|
||||||
|
|
||||||
|
public object GetValues()
|
||||||
|
{
|
||||||
|
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
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
public PostValues()
|
public PostValues()
|
||||||
{
|
{
|
||||||
BaseCost = new BaseCost();
|
BaseCost = new BaseCost();
|
||||||
|
|||||||
@ -222,7 +222,7 @@ namespace EvoCalculator.Core.Controllers.V1
|
|||||||
|
|
||||||
return new
|
return new
|
||||||
{
|
{
|
||||||
postValues,
|
postValues = postValues.GetValues(),
|
||||||
columns = new
|
columns = new
|
||||||
{
|
{
|
||||||
dateColumn,
|
dateColumn,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user