Managers: update KaskoManager for new params
This commit is contained in:
parent
50cea6c275
commit
a483c6c890
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using ELT.Client.Models.Insurance;
|
using ELT.Client.Models.Insurance;
|
||||||
@ -26,6 +25,11 @@ namespace ELT.Client.Managers.Insurance
|
|||||||
kaskoParams.Mark = preRequestData.Brand;
|
kaskoParams.Mark = preRequestData.Brand;
|
||||||
kaskoParams.Model = preRequestData.Model;
|
kaskoParams.Model = preRequestData.Model;
|
||||||
|
|
||||||
|
var specialMachinery = preRequestData.SpecialMachinery;
|
||||||
|
specialMachinery.SpecialMachineryMark = preRequestData.Brand;
|
||||||
|
specialMachinery.SpecialMachineryModel = preRequestData.Model;
|
||||||
|
kaskoParams.SpecialMachinery = specialMachinery;
|
||||||
|
|
||||||
|
|
||||||
var result = new Dictionary<string, KASKOCalculationResult>();
|
var result = new Dictionary<string, KASKOCalculationResult>();
|
||||||
|
|
||||||
@ -40,11 +44,12 @@ namespace ELT.Client.Managers.Insurance
|
|||||||
}
|
}
|
||||||
, null
|
, null
|
||||||
, companyId
|
, companyId
|
||||||
, null
|
, 0
|
||||||
, null
|
, null
|
||||||
, null
|
, null
|
||||||
, "13"
|
, "13"
|
||||||
, null
|
, null
|
||||||
|
, null
|
||||||
, false
|
, false
|
||||||
, null
|
, null
|
||||||
, null
|
, null
|
||||||
|
|||||||
@ -1,9 +1,12 @@
|
|||||||
namespace ELT.Client.Models.Insurance
|
using ELTKasko;
|
||||||
|
|
||||||
|
namespace ELT.Client.Models.Insurance
|
||||||
{
|
{
|
||||||
public class ELTPreData
|
public class ELTPreData
|
||||||
{
|
{
|
||||||
public string Kladr { get; set; }
|
public string Kladr { get; set; }
|
||||||
public string Brand { get; set; }
|
public string Brand { get; set; }
|
||||||
public string Model { get; set; }
|
public string Model { get; set; }
|
||||||
|
public SpecialMachinery SpecialMachinery { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user