Prospect filter

This commit is contained in:
Andre Beging
2025-03-27 18:42:21 +01:00
parent 4d646ad7f6
commit 7efd48c794
8 changed files with 99 additions and 77 deletions

View File

@@ -22,10 +22,7 @@ namespace FoodsharingSiegen.Server.Pages
#region Private Properties
/// <summary>
/// Gets or sets the value of the filter text (ab)
/// </summary>
private string? FilterText { get; set; }
private ProspectFilter Filter { get; set; } = new();
/// <summary>
/// Gets or sets the value of the prospect list (ab)
@@ -44,19 +41,6 @@ namespace FoodsharingSiegen.Server.Pages
#endregion
#region Private Method FilterText_Changed
/// <summary>
/// Filters the text changed using the specified filter text (a. beging, 08.02.2023)
/// </summary>
/// <param name="filterText">The filter text</param>
private void FilterText_Changed(string filterText)
{
FilterText = filterText;
}
#endregion
#region Private Method LoadProspects
/// <summary>