private static FundingStructureItem MapToFundingStructureItem(int level, string name, string fundingLineCode, uint templateId, FundingStructureType type, string calculationType = null, string calculationId = null, string calculationPublishStatus = null, List <FundingStructureItem> fundingStructureItems = null) => new FundingStructureItem { Level = level, Name = name, FundingLineCode = fundingLineCode, TemplateId = templateId, CalculationId = calculationId, CalculationPublishStatus = calculationPublishStatus, Type = type, CalculationType = calculationType, FundingStructureItems = fundingStructureItems };
public FundingStructureItem( int level, string name, string fundingLineCode, string calculationId, string calculationPublishStatus, FundingStructureType type, string calculationType = null, List <FundingStructureItem> fundingStructureItems = null, string value = null, DateTimeOffset?lastUpdatedDate = null) { Level = level; Name = name; FundingLineCode = fundingLineCode; CalculationId = calculationId; Type = type; CalculationPublishStatus = calculationPublishStatus; FundingStructureItems = fundingStructureItems; Value = value; CalculationType = calculationType; LastUpdatedDate = lastUpdatedDate; }