public IActionResult GetDashboardMenu(int UserId)
        {
            var response = _installation.GetDashboardMenu(UserId);

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }
        public IActionResult Index()
        {
            string userId = _httpContextAccessor.HttpContext.Request.Cookies["UserId"];
            GetDashboardMenuResponse response = _iInstallationService.GetDashboardMenu(Convert.ToInt32(userId));

            ViewBag.UserName = _httpContextAccessor.HttpContext.Request.Cookies["UserName"];
            ViewBag.UrlPath  = Globals.URLPath;
            if (response != null)
            {
                return(View(response));
            }
            else
            {
                return(View());
            }
        }