public ActionResult Create() { PersonaViewModel persona = new PersonaViewModel(); List <RoleViewModel> roles = new List <RoleViewModel>(); roles = MapeoToRoleVM(roleBLL.GetAll()); persona.Roles = roles; return(View(persona)); }
protected override void LoadData() { _lstUser = _authBLL.GetAll().ToList(); _lstRole = _roleBLL.GetAll().ToList(); }