Add Webinar ID Support for Viewer Join and Leave ...

This commit is contained in:
2025-11-16 09:46:46 +03:30
parent 5b23542008
commit 95c1536924
2 changed files with 27 additions and 11 deletions
+10
View File
@@ -84,6 +84,7 @@ namespace xWebinarService.Providers
Id = model.Id,
Type = model.Type,
OwnerId = model.OwnerId,
Enabled = model.Enabled,
CreatedOn = model.CreatedOn,
//
@@ -334,6 +335,15 @@ namespace xWebinarService.Providers
entity.Type = item.Type;
entity = await WebinarRepository.UpdateAsync(entity.Id, entity);
}
//
// Check if Enabled Change Update it ...
if (entity.Enabled != item.Enabled)
{
//
entity.Enabled = item.Enabled;
entity = await WebinarRepository.UpdateAsync(entity.Id, entity);
}
//
// Retrieve Entity Dto ...