public JsonResult Admin_hasname(string strid, string newname)
        {
            string oldname = "";

            if (strid != "")
            {
                int id = int.Parse(strid);
                oldname = dbDrive.FindAdmin(id).name;
            }
            if (oldname.Equals(newname))
            {
                return(Json(true));
            }
            List <Admin> adminList = dbDrive.AccurateQueryAdmins(newname);

            if (adminList != null && adminList.Count > 0)
            {
                return(Json(false));
            }
            return(Json(true));
        }