// GET: Editor/Home public ActionResult Home() { Session.Remove("BranchId"); Session.Remove("Branch"); SummaryModel model = new SummaryModel { // Clients = _iClientManager.GetAllClientDetails().ToList(), //Employees = _iEmployeeManager.GetAllEmployeeWithFullInfo(), // Departments = _iDepartmentManager.GetAll(), //Branches = _iBranchManager.GetAllBranches(), //Regions = _iRegionManager.GetAll(), //Territories = _iTerritoryManager.GetAll(), ClientList = _iClientManager.GetActiveClient().ToList(), ViewEntityCount = _iReportManager.GetTotalEntityCount() }; return(View(model)); }