public static List <ProjectUpdateHistory> GetProjectUpdateHistories(Project project) { if (project._hasCheckedProjectUpdateHistories) { return(project._projectUpdateHistories); } project.SetProjectUpdateHistories(project.ProjectUpdateBatches.SelectMany(x => x.ProjectUpdateHistories).ToList()); return(project._projectUpdateHistories); }