// GET: AppAccount/Create public ActionResult Create() { var adapter = new UserAdapterModel(new AppIdentityUser()); adapter.Departments = _departmentRepository.GetAll().ToList(); adapter.Buildings = _buildingRepository.GetAll().ToList(); adapter.TechnicalGroups = _technicalGroupRepository.GetAll().ToList(); return(View(adapter)); }
// GET: TechnicalGroup public ActionResult Index() { return(View(_technicalGroupRepository.GetAll())); }