public IActionResult DeleteAllLogs()
        {
            if (HttpContext.Session.GetString("AdminValidity") == "Admin" || HttpContext.Session.GetString("AdminValidity") == "Super Admin")
            {
                _context.DeleteAllLogs();
            }
            else
            {
                ViewBag.Permissions = "You do not have sufficient permissions to delete all logs. Only Super Admins are able to delete all logs.";
                return(View("Logs"));
            }

            return(View("Logs"));
        }