/// <summary>
        /// Update user function
        /// </summary>
        /// <param name="User"></param>
        /// <returns></returns>
        public static bool UpdatdeUserBL(Users User)
        {
            bool Useradded = false;

            try
            {
                // if (ValidateUser(User))
                {
                    Useradded = HMS_DAL.UpdateUserDAL(User);
                }
            }
            catch (HMS_Exception e)
            { throw e; }
            return(Useradded);
        }