示例#1
0
        // This calls the accessor method that inserts an unapproved person group into the database.
        public bool AddUnapprovedPersonGroup(int personID, string groupID)
        {
            bool result = false;

            try
            {
                result = (1 == _groupAccessor.InsertUnapprovedPersonGroup(personID, groupID));
            }
            catch (Exception ex)
            {
                throw new ApplicationException("Person Group not added.", ex);
            }
            return(result);
        }