public List <Judge> GetJugdeList() { Judge judge = new Judge(); IdeaManager manager = new IdeaManager(); return(manager.GetData()); }
// GET api/{Judge}/{GetJudge}/{id} public Judge GetJudge(int id) { Judge judge = new Judge { JudgeId = id }; IdeaManager manager = new IdeaManager(); judge.Ideas = manager.GetData(id); return(judge); }