adding Data Requirement on XContent Service ...

This commit is contained in:
2026-08-18 14:05:36 +03:30
parent 71fd4cea74
commit 0daa339d12
34 changed files with 1009 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
using System;
using Microsoft.Extensions.Logging;
using xContentService.Interfaces.Dtos;
using xContentService.Models.Dtos;
using xContentService.Models.Entities;
using xPushService.Base;
namespace xContentService.Providers.Dtos
{
public class XContentDtoHub : XBaseDtoHub<XContent, XContentDto, Guid>, IXContentDtoHub
{
public XContentDtoHub(
ILogger<XContentDtoHub> logger
) : base(logger)
{ }
}
}
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using AutoMapper;
using xContentService.Interfaces.Dtos;
using xContentService.Interfaces.Entities;
using xContentService.Models.Dtos;
using xContentService.Models.Entities;
using xDataService.Providers;
namespace xContentService.Providers.Dtos
{
public class XContentRepositoryService : XBaseRepositoryService<XContent, XContentDto, Guid>, IXContentRepositoryService
{
public XContentRepositoryService(
IXContentRepository repository,
IEnumerable<Profile> mapperProfiles = null
) : base(
repository,
mapperProfiles
)
{ }
//
// TODO: Implement Enrichers ...
}
}
+27
View File
@@ -0,0 +1,27 @@
using System;
using Microsoft.AspNetCore.SignalR;
using xContentService.Interfaces.Dtos;
using xContentService.Models.Dtos;
using xContentService.Models.Entities;
using xDataService.Configuration;
using xIdentityService.Interfaces;
using xPushService.Base;
namespace xContentService.Providers.Dtos
{
public class XContentServiceProvider : XBaseDtoProvider<XContent, XContentDto, Guid, XContentDtoHub>, IXContentServiceProvider
{
public XContentServiceProvider(
IHubContext<XContentDtoHub> hub,
XDataServiceConfiguration dataConfiguration,
IXContentRepositoryService service,
IXIdentityProvider identityProvider = null
) : base(
hub,
dataConfiguration,
service,
identityProvider
)
{ }
}
}