public ActionResult InOutPersonel(IcerdeDisardaReportParameters parameters)
        {
            var panel       = _panelSettingsService.GetAllPanelSettings(x => x.Panel_IP1 != null && x.Panel_IP1 != 0 && x.Panel_TCP_Port != 0 && x.Panel_ID != 0 && x.Seri_No != 0 && dbPanelList.Contains((int)x.Panel_ID));
            var globalBolge = _globalZoneService.GetAllGlobalZones();
            var liste       = _reportService.GetIcerdeDisardaPersonels(parameters, CurrentSession.User);
            var model       = new IcerdeDısardaPersonelListViewModel
            {
                Panel = panel.Select(a => new SelectListItem
                {
                    Text  = a.Panel_Name,
                    Value = a.Panel_ID.ToString()
                }),
                Global_Kapi_Bolgesi = globalBolge.Select(a => new SelectListItem
                {
                    Text  = a.Global_Bolge_Adi,
                    Value = a.Global_Bolge_No.ToString()
                }),
                IcerdeDısardaPersonel = liste
            };

            TempData["Personel"] = liste;
            return(View(model));
        }
        public ActionResult Tumu(IcerdeDisardaReportParameters parameters)
        {
            var liste          = _reportService.GetIcerdeDısardaTümü(parameters);
            var panel          = _panelSettingsService.GetAllPanelSettings(x => x.Panel_IP1 != null && x.Panel_IP1 != 0 && x.Panel_TCP_Port != 0 && x.Panel_ID != 0 && kullaniciyaAitPaneller.Contains(x.Panel_ID));
            var globalBolgeAdi = _globalZoneService.GetAllGlobalZones();
            var model          = new IcerdeDısardaTumuListViewModel
            {
                TumuListesi = liste,
                Panel       = panel.Select(a => new SelectListItem
                {
                    Text  = a.Panel_Name,
                    Value = a.Panel_ID.ToString()
                }),
                Global_Kapi_Bolgesi = globalBolgeAdi.Select(a => new SelectListItem
                {
                    Text  = a.Global_Bolge_Adi,
                    Value = a.Global_Bolge_No.ToString()
                })
            };

            TempData["Tumu"] = liste;
            return(View(model));
        }