Ejemplo n.º 1
0
        public IActionResult Register()
        {
            AddUserViewModel model = new AddUserViewModel
            {
                Countries   = _combosHelper.GetComboCountries(),
                Departments = _combosHelper.GetComboDepartments(0),
                Cities      = _combosHelper.GetComboCities(0),
            };

            return(View(model));
        }
Ejemplo n.º 2
0
        public IActionResult Create()
        {
            AddUserViewModel model = new AddUserViewModel
            {
                Departments   = _combosHelper.GetComboDepartments(),
                Cities        = _combosHelper.GetComboCities(0),
                Neighborhoods = _combosHelper.GetComboNeighborhoods(0),
            };

            return(View(model));
        }