// GET: Line public static string getLineName(int lineId) { string lineName = null; var lineData = LineProcessor.getLineName(lineId); foreach (var row in lineData) { lineName = row.lineName; } return(lineName); }