public List <Question> GetAllQuestions() { dataSourceLinker = new DataSourceLinker(); var data = dataSourceLinker.GetData(); if (data != null) { return(data); } return(new List <Question>()); }
public Question GetQuestionById(string questionId) { dataSourceLinker = new DataSourceLinker(); return(dataSourceLinker.GetData(questionId)); }