//<summary>Register method to regsiter any new user</summary>
        public static bool RegisterUserBL(UserInfo newUser)
        {
            bool userAdded = false;

            try
            {
                if (ValidateUser(newUser))
                {
                    JobDAL jobDAL = new JobDAL();
                    userAdded = jobDAL.RegisterUserDAL(newUser);
                }
            }
            catch (JobPortalSystemException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(userAdded);
        }