Exemple #1
0
        public bool RemovePilot(Guid id)
        {
            if (!Pilots.ContainsKey(id))
            {
                return(false);
            }

            Pilots[id].Dispose();
            Pilots.Remove(id);
            NotifySquadronChanges();
            return(true);
        }