public List <Passage> GetPassages(int locationID) { List <object[]> data = context.GetPassages(locationID); List <Passage> passages = new List <Passage>(); foreach (object[] row in data) { // TODO: implementeer dit } return(passages); }
public List <object[]> GetPassages() { return(context.GetPassages()); }