add support of xWebinar Service ...
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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),
|
||||
}
|
||||
)
|
||||
{ }
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user