Example #1
0
        public IEnumerable <Ideation> GetIdeations(int projectId)
        {
            List <Ideation> modules = new List <Ideation>();

            modules.AddRange(IdeationRepo.ReadAll(projectId));

            return(modules);
        }
Example #2
0
 public Ideation GetIdeation(int phaseId, int projectId)
 {
     return(IdeationRepo.ReadAll(projectId).FirstOrDefault(m => m.ParentPhase.Id == phaseId));
 }