public RolesVM() { Roles = new ObservableCollection <Role>(RoleQueries.GetRoles()); NewRole = new Role(); newRoleCommand = new NuevoRoleCommand(this); editRoleCommand = new EditRoleCommand(this); }
public PermisoVM() { Roles = new ObservableCollection <Role>(RoleQueries.GetRoles()); Permissions = new ObservableCollection <SubMenuPermission>(); SelectedRol = new Role(); }