Example #1
0
        /// <summary>
        /// Creator : Zach Behrensmeyer
        /// Created: 3/3/2020
        /// Approver: Steven Cardona
        ///
        /// Manager method to confirm user exists
        /// </summary>
        /// <remarks>
        /// Updater: NA
        /// Updated: NA
        /// Update: NA
        ///
        /// </remarks>
        /// <param name="email"></param>
        /// <returns>Returns Valid User Info</returns>
        public bool CheckIfUserExists(string Email)
        {
            bool exists;

            try
            {
                exists = _userAccessor.CheckIfUserExists(Email);
            }
            catch (Exception ex)
            {
                throw new ApplicationException("No Users Found", ex);
            }
            return(exists);
        }