InteractionModal umstellen

This commit is contained in:
Andre Beging
2025-03-28 19:22:51 +01:00
parent d754da76cd
commit 91bff3c127
8 changed files with 205 additions and 235 deletions

View File

@@ -31,11 +31,6 @@ namespace FoodsharingSiegen.Server.Pages
private ProspectFilter Filter { get; set; } = new();
/// <summary>
/// Gets or sets the value of the interaction modal (ab)
/// </summary>
private AddInteractionModal? InteractionModal { get; set; }
/// <summary>
/// Gets or sets the value of the prospect list (ab)
/// </summary>
@@ -84,21 +79,6 @@ namespace FoodsharingSiegen.Server.Pages
#endregion
#region Private Method OnAddInteraction
/// <summary>
/// Ons the add interaction using the specified arg (a. beging, 11.04.2022)
/// </summary>
/// <param name="arg">The arg</param>
private async Task OnAddInteraction(Interaction arg)
{
arg.UserID = CurrentUser.Id;
await ProspectService.AddInteraction(arg);
await LoadProspects();
}
#endregion
#region Private Method OnUpdateProspect
/// <summary>