AIMS_BD_IATI.WebAPI.Controllers.IATIImportController.ToMinifiedProjectMapModel C# (CSharp) Method

ToMinifiedProjectMapModel() public method

public ToMinifiedProjectMapModel ( ProjectMapModel projectMapModel ) : ProjectMapModelMinified
projectMapModel AIMS_DB_IATI.WebAPI.Models.IATIImport.ProjectMapModel
return AIMS_DB_IATI.WebAPI.Models.IATIImport.ProjectMapModelMinified
        public ProjectMapModelMinified ToMinifiedProjectMapModel(ProjectMapModel projectMapModel)
        {
            return new ProjectMapModelMinified
            {
                selected = projectMapModel.selected,

                MatchedProjects = ToMinifiedProjectFieldMapModel(projectMapModel.MatchedProjects),
                IatiActivitiesNotInAims = ToMinifiedIatiActivitiesModel(projectMapModel.IatiActivitiesNotInAims),
                AimsProjectsNotInIati = ToMinifiedIatiActivitiesModel(projectMapModel.AimsProjectsNotInIati),
                NewProjectsToAddInAims = ToMinifiedIatiActivitiesModel(projectMapModel.NewProjectsToAddInAims),
                ProjectsOwnedByOther = ToMinifiedIatiActivitiesModel(projectMapModel.ProjectsOwnedByOther)

            };
        }