private static LearningProviderRates Map(
            LocalDomainModels.SchoolInformation schoolInformation)
        {
            LearningProviderRates toReturn = null;

            BaselineFunding baselineFunding =
                Map(schoolInformation.BaselineFunding);
            NotionalFunding notionalFunding =
                Map(schoolInformation.NotionalFunding);

            IllustrativeFunding illustrativeFunding = null;

            if (schoolInformation.IllustrativeFunding != null)
            {
                illustrativeFunding =
                    Map(schoolInformation.IllustrativeFunding);
            }

            toReturn = new LearningProviderRates()
            {
                BaselineFunding     = baselineFunding,
                IllustrativeFunding = illustrativeFunding,
                NotionalFunding     = notionalFunding,
            };

            return(toReturn);
        }
        private static BaselineFunding Map(
            LocalDomainModels.Rates.BaselineFunding baselineFunding)
        {
            BaselineFunding toReturn = new BaselineFunding()
            {
                BaselineFundingFullSchool               = baselineFunding.BaselineFundingFullSchool,
                NewAndGrowingSchoolsPupilCountIfFull    = baselineFunding.NewAndGrowingSchoolsPupilCountIfFull,
                NewAndGrowingSchoolsValueIfFull         = baselineFunding.NewAndGrowingSchoolsValueIfFull,
                NewAndGrowingSchoolsValuePerPupilIfFull = baselineFunding.NewAndGrowingSchoolsValuePerPupilIfFull,
                PupilCount    = baselineFunding.PupilCount,
                Value         = baselineFunding.Value,
                ValuePerPupil = baselineFunding.ValuePerPupil,
            };

            return(toReturn);
        }