Beispiel #1
0
        public bool DeleteCard()
        {
            CardObject CO = Card;

            if (Employer.DeleteCard(CO) /*&& Cards.Remove(CO)*/) // CARDS DISPOSING
            {
                Card = null;
                SaveEmployers();
                return(true);
            }
            return(false);
        }
        public bool DeleteCard()
        {
            CardObject CO = Card;

            if (Employer.DeleteCard(CO) && Cards.Remove(CO))
            {
                Card = null;
                SaveEmployers();
                return(true);
            }
            return(false);
        }