add support of xWebinar Service ...

This commit is contained in:
2026-07-24 19:47:06 +03:30
parent ce1828325f
commit e97451f6f6
3 changed files with 19 additions and 1 deletions
+15 -1
View File
@@ -21,6 +21,7 @@ using xStorageService.DI;
using xStringService.DI;
using xTagService.DI;
using xTermsAndConditionsService.DI;
using xWebinarService.DI;
namespace xServices.DI
{
@@ -213,6 +214,12 @@ namespace xServices.DI
app.UseXCategoryService(
isDevelopmentEnvironment: isDevelopmentEnvironment
);
//
// Using XWebinar Service ...
app.UsexWebinarService(
isDevelopmentEnvironment: isDevelopmentEnvironment
);
}
//
@@ -333,11 +340,18 @@ namespace xServices.DI
//
// Register Category Service ...
services.AddXCategoryServiceConfiguration(configuration);
services.AddXCategoryServiceConfiguration(configuration);
services.AddXCategoryService<XApiDbContext>(
lifeTime: lifeTime,
repositoryType: repositoryType
);
//
// Register Webinar Service ...
services.AddXWebinarService<XApiDbContext>(
lifeTime: lifeTime,
repositoryType: repositoryType
);
}
#endregion
}
+3
View File
@@ -7,6 +7,7 @@ using xFileService.Providers;
using xServices.Models.Entities;
using xStringService.Providers;
using xTagService.Providers;
using xWebinarService.Providers;
// using xStringService.Models.Entities;
namespace xServices.Databases
@@ -35,8 +36,10 @@ namespace xServices.Databases
nameof(XTagEntityRegisterar),
nameof(XFileEntityRegisterar),
nameof(XStringEntityRegisterar),
nameof(XWebinarEntityRegisterar),
nameof(XCategoryEntityRegisterar),
nameof(XSubCategoryEntityRegisterar),
nameof(XWebinarSubscriberEntityRegisterar),
}
)
{ }
+1
View File
@@ -42,6 +42,7 @@
<ProjectReference Include="..\xMessageService\xMessageService.csproj" />
<ProjectReference Include="..\xStorageService\xStorageService.csproj" />
<ProjectReference Include="..\xCategoryService\xCategoryService.csproj" />
<ProjectReference Include="..\xWebinarService\xWebinarService.csproj" />
<ProjectReference Include="..\xTermsAndConditionsService\xTermsAndConditionsService.csproj" />
</ItemGroup>