public void TestQuestionsByName(string _name) { string name = _name; List <Question> result = _questionsFacade.GetLocationQuestions(name); Assert.NotEmpty(result); Assert.Equal(name, result.First().Location.Name); }
public List <Question> getLocationQuestions(string location) { Console.WriteLine(location); return(facade.GetLocationQuestions(location)); }