public IActionResult ViewUsers()
 {
     if (HttpContext.Session.GetString("AdminValidity") == "Admin" || HttpContext.Session.GetString("AdminValidity") == "Super Admin")
     {
         ViewBag.UsersData = _context.GetUsers();
         return(View());
     }
     else
     {
         return(RedirectToAction("Error", "Admin"));
     }
 }