public SectorDTO GetSector(int key)
        {
            var sector = _sectoraccess.Read(key);

            if (sector.Tram != null)
            {
                sector.Tram = _tramAccess.Read(sector.Tram.Id);
            }

            return(sector);
        }
 public TramDTO GetTram(int key)
 {
     return(_tramAccess.Read(key));
 }