Наследование: INotifyPropertyChanged
        public IActionResult PartialLoadEmployees(string empTypeId)
        {
            var employeeViewModel = new ViewModel_Employee();

            if (empTypeId != "")
            {
                var employeeController = new EmployeeController(_cache, _dbContext);
                employeeViewModel = employeeController.GetEmployeeData();
                if (Convert.ToInt32(empTypeId) > 0)
                {
                    employeeViewModel.Employees = employeeViewModel.Employees.Where(c => c.EmployeeTypeId == Convert.ToInt32(empTypeId)).ToList();
                }
            }

            return(PartialView("_PartialViewEmployeeList", employeeViewModel));
        }
        private ViewModel_Employee GetEmployeeData()
        {
            ViewModel_Employee employeeViewModel = new ViewModel_Employee();

            employeeViewModel.Employees = _employeeLogic.GetList();

            _cityLogic     = new App_CityLogic(_cache, new EntityFrameworkGenericRepository <App_CityPoco>(_dbContext));
            _provinceLogic = new App_ProvinceLogic(_cache, new EntityFrameworkGenericRepository <App_ProvincePoco>(_dbContext));
            _countryLogic  = new App_CountryLogic(_cache, new EntityFrameworkGenericRepository <App_CountryPoco>(_dbContext));

            employeeViewModel.Cities    = _cityLogic.GetList();
            employeeViewModel.Provinces = _provinceLogic.GetList();
            employeeViewModel.Countries = _countryLogic.GetList();

            return(employeeViewModel);
        }