Add ability to fully delete items from the DB

This commit is contained in:
TheXamlGuy
2024-06-23 09:58:19 +01:00
parent 95de9d187f
commit db20ee15cc
18 changed files with 98 additions and 22 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public class UpdateItemHander(IDbContextFactory<WalletContext> dbContextFactory)
public async Task<bool> Handle(UpdateEventArgs<Item<(Guid, string, ItemConfiguration)>> args,
CancellationToken cancellationToken)
{
if (args.Value is Item<(Guid, string, ItemConfiguration)> item)
if (args.Sender is Item<(Guid, string, ItemConfiguration)> item)
{
(Guid id, string name, ItemConfiguration configuration) = item.Value;