Beispiel #1
0
        public User DeactivateUser(User userToDeactivate)
        {
            userToDeactivate.Status = Constants.USERSTATUS_PASSIVE;
            UserDataAccessManager userDataAccess = new UserDataAccessManager();

            return(userDataAccess.Update(userToDeactivate));
        }
Beispiel #2
0
        public User DeleteUser(User userToDelete)
        {
            userToDelete.Status = Constants.USERSTATUS_DELETED;
            UserDataAccessManager userDataAccess = new UserDataAccessManager();

            return(userDataAccess.Update(userToDelete));
        }
Beispiel #3
0
        public User UpdateUser(User userToUpdate)
        {
            UserDataAccessManager userDataAccess = new UserDataAccessManager();

            return(userDataAccess.Update(userToUpdate));
        }