Exemplo n.º 1
0
        // GET: /<controller>/
        public IActionResult Index()
        {
            HomeViewModel viewModel = new HomeViewModel();

            viewModel.employees = _employeeContext.GetAllEmployee();
            return(View(viewModel));
        }