public IActionResult MakeAdmin(UserDetail ud)
        {
            if (HttpContext.Session.GetString("AdminID") != null)
            {
                UserMethod um = new UserMethod();
                um.MakeUserAdmin(ud.User_UserName, ud.User_Password, out string errormsg);

                return(RedirectToAction("AllUsers"));
            }
            else
            {
                return(RedirectToAction("AdminLogin"));
            }
        }