/// <summary>
        ///
        /// </summary>
        /// <param name="person"></param>
        public static CACCCheckInDb.Person InsertPerson(CACCCheckInDb.Person person)
        {
            using (CACCCheckInServiceProxy proxy =
                       new CACCCheckInServiceProxy())
            {
                proxy.Open();

                person = proxy.InsertPeople(person);
            }

            return(person);
        }
        /// <summary>
        /// Will add a person
        /// </summary>
        /// <param name="person"></param>
        private void AddPerson(CACCCheckInDb.PeopleWithDepartmentAndClassView person)
        {
            logger.DebugFormat("Adding person [{0} {1}]",
                               person.FirstName, person.LastName);

            // Get a reference to ClassMember record for current person
            CACCCheckInDb.Person newPerson = (CACCCheckInDb.Person)person;

            using (CACCCheckInServiceProxy proxy =
                       new CACCCheckInServiceProxy())
            {
                proxy.Open();

                logger.Debug("Calling InsertPeople in CACCCheckInService");
                proxy.InsertPeople(newPerson);
            }
        }