last works on Implementing XBotUser Entity and Repository Implementation based on xDataService ...
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using xPushService.Base;
|
||||
using xBotService.Models.Dtos;
|
||||
using xBotService.Interfaces.Dtos;
|
||||
using xBotService.Models.Entities;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace xBotService.Providers.Dtos
|
||||
{
|
||||
public class XBotUserDtoHub : XBaseDtoHub<XBotUser, XBotUserDto, int>, IXBotUserDtoHub
|
||||
{
|
||||
public XBotUserDtoHub(
|
||||
ILogger<XBotUserDtoHub> logger
|
||||
) : base(logger)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using xPushService.Base;
|
||||
using xBotService.Models.Dtos;
|
||||
using xDataService.Configuration;
|
||||
using xBotService.Interfaces.Dtos;
|
||||
using xBotService.Models.Entities;
|
||||
using xIdentityService.Interfaces;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using xBotService.Interfaces.Entities.Dtos;
|
||||
|
||||
namespace xBotService.Providers.Dtos
|
||||
{
|
||||
public class XBotUserServiceProvider : XBaseDtoProvider<XBotUser, XBotUserDto, int, XBotUserDtoHub>, IXBotUserServiceProvider
|
||||
{
|
||||
public XBotUserServiceProvider(
|
||||
IHubContext<XBotUserDtoHub> hub,
|
||||
XDataServiceConfiguration dataConfiguration,
|
||||
IXBotUserRepositoryService service,
|
||||
IXIdentityProvider identityProvider = null
|
||||
) : base(
|
||||
hub,
|
||||
dataConfiguration,
|
||||
service,
|
||||
identityProvider
|
||||
)
|
||||
{ }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user