public void Edit(LineDTO lineDTO) { var line = _lineRepository.Find(lineDTO.Id); _lineFactory.FillIn(line, lineDTO.Name, lineDTO.Color, line.IsCircular, line.LineType, line.RouteStops); _lineRepository.Update(line); }