Initialize Commit ...

This commit is contained in:
2026-11-11 13:36:09 +03:30
commit 609402b04c
17 changed files with 276 additions and 0 deletions
@@ -0,0 +1,19 @@
using AutoMapper;
using xDataService.Providers;
using xBotService.Models.Dtos;
using xBotService.Models.Entities;
using System.Collections.Generic;
using xBotService.Interfaces.Entities;
using xBotService.Interfaces.Entities.Dtos;
namespace xBotService.Providers.Dtos
{
public class XBotUserRepositoryService : XBaseRepositoryService<XBotUser, XBotUserDto, int>, IXBotUserRepositoryService
{
public XBotUserRepositoryService(
IXBotUserRepository repository,
IEnumerable<Profile> mapperProfiles = null
) : base(repository, mapperProfiles)
{ }
}
}
@@ -0,0 +1,21 @@
using xDataService.Db;
using xDataService.Providers;
using xDataService.Interfaces;
using xDataService.Configuration;
using xBotService.Models.Entities;
using xBotService.Interfaces.Entities;
namespace xBotService.Providers.Entities
{
public class XBotUserEFRepository<TContext> : XBaseEFRepository<XBotUser, int, TContext>, IXBotUserRepository
where TContext : XDbContext
{
public XBotUserEFRepository(
IXUnitOfWorks<TContext> unitOfWorks,
XDataServiceConfiguration configuration,
IXBotUserKeyGenerator keyGenerator = null,
IXBotUserRepositoryEvents baseRepositoryEvents = null
) : base(unitOfWorks, configuration, keyGenerator, baseRepositoryEvents)
{ }
}
}
@@ -0,0 +1,9 @@
using xDataService.Providers;
using xBotService.Models.Entities;
using xBotService.Interfaces.Entities;
namespace xBotService.Providers.Entities
{
public class XBotUserKeyGenerator : XIntKeyGenerator<XBotUser>, IXBotUserKeyGenerator
{ }
}
@@ -0,0 +1,9 @@
using xDataService.Providers;
using xBotService.Models.Entities;
using xBotService.Interfaces.Entities;
namespace xBotService.Providers.Entities
{
public class XBotUserRepositoryEvents : XBaseRepositoryEvents<XBotUser>, IXBotUserRepositoryEvents
{ }
}