コード例 #1
0
        // 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));
        }
コード例 #2
0
 // GET: TechnicalGroup
 public ActionResult Index()
 {
     return(View(_technicalGroupRepository.GetAll()));
 }