public static CostLimitNode CostLimit(CostTypeNode costType, decimal?value = null) { return(CostLimit( name: costType.Name, typeId: costType.Id, value: value ?? costType.DefaultCostLimit)); }
public static CostNode Cost(CostTypeNode costType, decimal value = 0m) { return(Cost( name: costType.Name, typeId: costType.Id, value: value)); }