public IEnumerable <Line> GetAllLines() { var lines = _lineRepository.GetAll().OrderBy(i => i.LineId).ToList(); return(lines); }