Add Webinar ID Support for Viewer Join and Leave ...
This commit is contained in:
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user