BinaryStudio.TaskManager.Web.Content.Controllers.AdminController.ConnectUserWithEmployee C# (CSharp) Method

ConnectUserWithEmployee() private method

private ConnectUserWithEmployee ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult ConnectUserWithEmployee()
        {
            var model = new UserViewModel();
            model.Users = userRepository.GetAll().ToList();
            model.Employees = employeeRepository.GetAll().ToList();
            return View(model);
        }
        [Authorize(Roles = "admin")]