public IEnumerable <Problem> GetAllProblems() { ProblemRepository problem = new ProblemRepository(Startup.connectionString); IEnumerable <Problem> problems = problem.GetAllProblems(); return(problems); }