|
@@ -91,7 +91,7 @@ namespace AvaloniaApplicationTestNew.ViewModels
|
|
|
{
|
|
|
LocalListusers = localUser;
|
|
|
if (!string.IsNullOrEmpty(findText)) LocalListusers = LocalListusers.Where(x => x.Name.Contains(findText)).ToList();
|
|
|
- if (filtGendr != null && filtGendr.IdGender != 0) Users = Users.Where(x => x.IdGenderNavigation == filtGendr).ToList();
|
|
|
+ if (filtGendr != null && filtGendr.IdGender != 0) LocalListusers = LocalListusers.Where(x => x.IdGenderNavigation == filtGendr).ToList();
|
|
|
}
|
|
|
public void InfoUsers(int id)
|
|
|
{
|
|
@@ -110,5 +110,4 @@ namespace AvaloniaApplicationTestNew.ViewModels
|
|
|
MainWindowViewModel.Self.Page = new Authorization();
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|