Exemple #1
0
        public void Delete(long userId)
        {
            user customer = userPersist.GetById(userId);

            userPersist.Delete(userId, customer);
            userPersist.Save();
        }
Exemple #2
0
        public void Delete(int UserId)
        {
            IUserPersist persist = new UserPersist();

            this.Id = UserId;
            persist.Delete(this);
        }