add Base Controller, Complete Documentation and remove unncessary files ...

This commit is contained in:
2026-05-27 16:08:41 +03:30
parent 661a17fb97
commit e7979f8a65
10 changed files with 423 additions and 0 deletions
+9
View File
@@ -6,9 +6,12 @@ using Microsoft.Extensions.DependencyInjection;
using xCommons.Configurations;
using xCommons.Extensions;
using xExceptions.Constants;
using xPushService.DI;
using xPushService.Helpers;
using xStringService.Interfaces.Dtos;
using xTermsAndConditionsService.Configuration;
using xTermsAndConditionsService.Constants;
using xTermsAndConditionsService.Hubs;
using xTermsAndConditionsService.Interfaces;
using xTermsAndConditionsService.Providers;
@@ -123,6 +126,12 @@ namespace xTermsAndConditionsService.DI
var stringProvider = scope.ServiceProvider.GetService<IXStringServiceProvider>();
var serviceConfiguration = scope.ServiceProvider.GetService<XTermsAndConditionsServiceConfiguration>();
//
// Using XTerms Hub ...
var pushHelper = new XPushServiceHelper();
pushHelper.AddHub<XTermsHub>("termsHub");
app.UseXPushService(pushHelper);
//
// Validate Requirements Exists ...
var isValid =