public void Update(ArchiveStation archiveStation)
        {
            ArchiveStation rArchiveStation = GetArchiveStationById(archiveStation.ID);
            if (rArchiveStation == null)
                return;

            rArchiveStation.Archive = archiveStation.Archive;
            db.SaveChanges();
        }
 public bool CreateArchivedStation(ArchiveStation archiveStation)
 {
     try
     {
         _archiveStationRepository.Insert(archiveStation);
         return true;
     }
     catch (Exception ex)
     {
         HandleLogging.LogMessage(ex, "CreateArchivedStation", 1, WebOperationContext.Current);
         return false;
     }
 }
 public void Insert(ArchiveStation archiveStation)
 {
     db.ArchiveStations.Add(archiveStation);
     db.SaveChanges();
 }
 public bool CreateArchivedStation(ArchiveStation archiveStation)
 {
     return new RouteService().CreateArchivedStation(archiveStation);
 }