Пример #1
0
        protected override bool SaveData()
        {
            var id = CardManager.AddOrEditCard(ID, CardNumber, CardTypeID, PersonID, ParentCardID, BaseGlobalVariable.UserID);

            if (id > 0)
            {
                ID = id;
            }
            return(id > 0);
        }