public IEnumerable <Ideation> GetIdeations(int projectId) { List <Ideation> modules = new List <Ideation>(); modules.AddRange(IdeationRepo.ReadAll(projectId)); return(modules); }
public Ideation GetIdeation(int phaseId, int projectId) { return(IdeationRepo.ReadAll(projectId).FirstOrDefault(m => m.ParentPhase.Id == phaseId)); }