public IActionResult Logs()
        {
            User user = _context.GetUser(Convert.ToInt32(HttpContext.Session.GetString("LoginID")));

            if (HttpContext.Session.GetString("AdminValidity") == "Admin" || HttpContext.Session.GetString("AdminValidity") == "Super Admin")
            {
                ViewBag.LogsData = _context.GetAllLogs();
                return(View());
            }
            else
            {
                return(View("Error"));
            }
        }