fix Osago modification is null
This commit is contained in:
parent
c9f01fea91
commit
e5e5bdebe0
@ -30,7 +30,8 @@ namespace ELT.Client.Managers.Insurance
|
||||
|
||||
eltPreData.Brand = mappedCars.Mark;
|
||||
eltPreData.Model = mappedCars.Model;
|
||||
eltPreData.Modification = mappedCars.Modification.Name;
|
||||
if (mappedCars?.Modification?.Name != null)
|
||||
eltPreData.Modification = mappedCars.Modification.Name;
|
||||
//CAR
|
||||
|
||||
return eltPreData;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user