public static void DeleteLog(int id) { LogObserver log_observer = _log.FirstOrDefault(x => x.IdLog == id); log_observer.Close(); _log.Remove(log_observer); }
public static void Add(LogObserver NewObserver) { _log.Add(NewObserver); }