From d161bccab29d5262ab3444faa7490e0d1c15b563 Mon Sep 17 00:00:00 2001 From: hyh Date: Tue, 10 Jun 2025 15:10:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0=E4=BB=93?= =?UTF-8?q?=E5=82=A8=E6=8E=A5=E5=8F=A3=E5=BC=95=E7=94=A8=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=EF=BC=8C=E9=80=82=E9=85=8D=E6=96=B0=E7=9A=84=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AuthenticateUser/AuthenticateUserCommandHandler.cs | 2 ++ .../Features/Auth/Commands/BaseLoginCommandHandler.cs | 2 ++ .../Auth/Commands/EmailLogin/EmailLoginCommandHandler.cs | 2 ++ .../Features/Auth/Commands/Logout/LogoutCommandHandler.cs | 2 ++ .../Auth/Commands/RefreshToken/RefreshTokenCommandHandler.cs | 1 + .../Auth/Commands/RegisterUser/RegisterUserCommandHandler.cs | 1 + .../Commands/CreateDevice/CreateDeviceCommandHandler.cs | 1 + .../Commands/DeleteDevice/DeleteDeviceCommandHandler.cs | 1 + .../Commands/UpdateDevice/UpdateDeviceCommandHandler.cs | 1 + .../Devices/Queries/GetDeviceById/GetDeviceByIdQueryHandler.cs | 1 + .../Devices/Queries/GetDevices/GetDevicesQueryHandler.cs | 1 + .../CreatePermission/CreatePermissionCommandHandler.cs | 1 + .../AddRolePermissions/AddRolePermissionsCommandHandler.cs | 1 + .../DeleteRolePermissionsCommandHandler.cs | 1 + .../GetRolePermissions/GetRolePermissionsQueryHandler.cs | 1 + .../Users/Commands/CreateUser/CreateUserCommandHandler.cs | 1 + .../Users/Commands/DeleteUser/DeleteUserCommandHandler.cs | 1 + .../Users/Commands/UpdateUser/UpdateUserCommandHandler.cs | 1 + src/CellularManagement.Infrastructure/Context/UnitOfWork.cs | 1 + src/CellularManagement.Infrastructure/DependencyInjection.cs | 2 ++ .../Repositories/Base/BaseRepository.cs | 1 + .../Repositories/CQRS/CommandRepository.cs | 1 + .../Repositories/CQRS/QueryRepository.cs | 1 + .../Repositories/Device/CellularDeviceRepository.cs | 2 ++ .../Repositories/Identity/LoginLogRepository.cs | 2 ++ .../Repositories/Identity/PermissionRepository.cs | 2 ++ .../Repositories/Identity/RolePermissionRepository.cs | 2 ++ .../Repositories/Identity/UserRoleRepository.cs | 3 ++- .../Repositories/UserRoleServiceRepository.cs | 1 + .../Services/UserRegistrationService.cs | 1 + 30 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/CellularManagement.Application/Features/Auth/Commands/AuthenticateUser/AuthenticateUserCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/AuthenticateUser/AuthenticateUserCommandHandler.cs index e9004b9..f21341e 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/AuthenticateUser/AuthenticateUserCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/AuthenticateUser/AuthenticateUserCommandHandler.cs @@ -16,6 +16,8 @@ using Microsoft.AspNetCore.Http; using UAParser; using Microsoft.EntityFrameworkCore; using CellularManagement.Application.Features.Auth.Models; +using CellularManagement.Domain.Repositories.Identity; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Auth.Commands.AuthenticateUser; diff --git a/src/CellularManagement.Application/Features/Auth/Commands/BaseLoginCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/BaseLoginCommandHandler.cs index 6bf52ac..b880e87 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/BaseLoginCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/BaseLoginCommandHandler.cs @@ -15,6 +15,8 @@ using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using CellularManagement.Application.Features.Auth.Models; using CellularManagement.Domain.Entities.Logging; +using CellularManagement.Domain.Repositories.Identity; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Auth.Commands; diff --git a/src/CellularManagement.Application/Features/Auth/Commands/EmailLogin/EmailLoginCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/EmailLogin/EmailLoginCommandHandler.cs index 73bb60c..45df85e 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/EmailLogin/EmailLoginCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/EmailLogin/EmailLoginCommandHandler.cs @@ -9,6 +9,8 @@ using System.Threading; using CellularManagement.Domain.Common; using Microsoft.AspNetCore.Http; using CellularManagement.Application.Features.Auth.Models; +using CellularManagement.Domain.Repositories.Identity; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Auth.Commands.EmailLogin; diff --git a/src/CellularManagement.Application/Features/Auth/Commands/Logout/LogoutCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/Logout/LogoutCommandHandler.cs index 5ed3fa0..2f86fe2 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/Logout/LogoutCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/Logout/LogoutCommandHandler.cs @@ -11,6 +11,8 @@ using System.Collections.Generic; using System.Diagnostics; using CellularManagement.Domain.Entities.Logging; using Microsoft.AspNetCore.Http; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.Auth.Commands.Logout; diff --git a/src/CellularManagement.Application/Features/Auth/Commands/RefreshToken/RefreshTokenCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/RefreshToken/RefreshTokenCommandHandler.cs index ce3a264..62548c0 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/RefreshToken/RefreshTokenCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/RefreshToken/RefreshTokenCommandHandler.cs @@ -12,6 +12,7 @@ using System.Collections.Generic; using System; using CellularManagement.Domain.Common; using CellularManagement.Application.Features.Auth.Models; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.Auth.Commands.RefreshToken; diff --git a/src/CellularManagement.Application/Features/Auth/Commands/RegisterUser/RegisterUserCommandHandler.cs b/src/CellularManagement.Application/Features/Auth/Commands/RegisterUser/RegisterUserCommandHandler.cs index 818c31b..ca20222 100644 --- a/src/CellularManagement.Application/Features/Auth/Commands/RegisterUser/RegisterUserCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Auth/Commands/RegisterUser/RegisterUserCommandHandler.cs @@ -9,6 +9,7 @@ using CellularManagement.Domain.Exceptions; using System.Threading.Tasks; using System.Threading; using System; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Auth.Commands.RegisterUser; diff --git a/src/CellularManagement.Application/Features/Devices/Commands/CreateDevice/CreateDeviceCommandHandler.cs b/src/CellularManagement.Application/Features/Devices/Commands/CreateDevice/CreateDeviceCommandHandler.cs index 642b3d0..faa4550 100644 --- a/src/CellularManagement.Application/Features/Devices/Commands/CreateDevice/CreateDeviceCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Devices/Commands/CreateDevice/CreateDeviceCommandHandler.cs @@ -3,6 +3,7 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Common; using CellularManagement.Domain.Entities.Device; using CellularManagement.Domain.Repositories; +using CellularManagement.Domain.Repositories.Device; namespace CellularManagement.Application.Features.Devices.Commands.CreateDevice; diff --git a/src/CellularManagement.Application/Features/Devices/Commands/DeleteDevice/DeleteDeviceCommandHandler.cs b/src/CellularManagement.Application/Features/Devices/Commands/DeleteDevice/DeleteDeviceCommandHandler.cs index b9d1f9d..588256b 100644 --- a/src/CellularManagement.Application/Features/Devices/Commands/DeleteDevice/DeleteDeviceCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Devices/Commands/DeleteDevice/DeleteDeviceCommandHandler.cs @@ -2,6 +2,7 @@ using MediatR; using Microsoft.Extensions.Logging; using CellularManagement.Domain.Common; using CellularManagement.Domain.Repositories; +using CellularManagement.Domain.Repositories.Device; namespace CellularManagement.Application.Features.Devices.Commands.DeleteDevice; diff --git a/src/CellularManagement.Application/Features/Devices/Commands/UpdateDevice/UpdateDeviceCommandHandler.cs b/src/CellularManagement.Application/Features/Devices/Commands/UpdateDevice/UpdateDeviceCommandHandler.cs index 034462c..38d6a5d 100644 --- a/src/CellularManagement.Application/Features/Devices/Commands/UpdateDevice/UpdateDeviceCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Devices/Commands/UpdateDevice/UpdateDeviceCommandHandler.cs @@ -4,6 +4,7 @@ using CellularManagement.Domain.Common; using CellularManagement.Domain.Entities.Device; using CellularManagement.Domain.Repositories; using CellularManagement.Application.Features.Devices.Commands.UpdateDevice; +using CellularManagement.Domain.Repositories.Device; namespace CellularManagement.Application.Features.Devices.Commands.UpdateDevice; diff --git a/src/CellularManagement.Application/Features/Devices/Queries/GetDeviceById/GetDeviceByIdQueryHandler.cs b/src/CellularManagement.Application/Features/Devices/Queries/GetDeviceById/GetDeviceByIdQueryHandler.cs index def39c3..802479e 100644 --- a/src/CellularManagement.Application/Features/Devices/Queries/GetDeviceById/GetDeviceByIdQueryHandler.cs +++ b/src/CellularManagement.Application/Features/Devices/Queries/GetDeviceById/GetDeviceByIdQueryHandler.cs @@ -1,6 +1,7 @@ using CellularManagement.Domain.Common; using CellularManagement.Domain.Entities.Device; using CellularManagement.Domain.Repositories; +using CellularManagement.Domain.Repositories.Device; using MediatR; using Microsoft.Extensions.Logging; diff --git a/src/CellularManagement.Application/Features/Devices/Queries/GetDevices/GetDevicesQueryHandler.cs b/src/CellularManagement.Application/Features/Devices/Queries/GetDevices/GetDevicesQueryHandler.cs index 3c796ea..2ee204d 100644 --- a/src/CellularManagement.Application/Features/Devices/Queries/GetDevices/GetDevicesQueryHandler.cs +++ b/src/CellularManagement.Application/Features/Devices/Queries/GetDevices/GetDevicesQueryHandler.cs @@ -6,6 +6,7 @@ using CellularManagement.Domain.Repositories; using System.ComponentModel.DataAnnotations; using System.Linq; using CellularManagement.Application.Features.Devices.Queries.GetDeviceById; +using CellularManagement.Domain.Repositories.Device; namespace CellularManagement.Application.Features.Devices.Queries.GetDevices; diff --git a/src/CellularManagement.Application/Features/Permissions/Commands/CreatePermission/CreatePermissionCommandHandler.cs b/src/CellularManagement.Application/Features/Permissions/Commands/CreatePermission/CreatePermissionCommandHandler.cs index 9147bf4..2c6e46a 100644 --- a/src/CellularManagement.Application/Features/Permissions/Commands/CreatePermission/CreatePermissionCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Permissions/Commands/CreatePermission/CreatePermissionCommandHandler.cs @@ -7,6 +7,7 @@ using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Domain.Common; using System; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.Permissions.Commands.CreatePermission; diff --git a/src/CellularManagement.Application/Features/RolePermissions/Commands/AddRolePermissions/AddRolePermissionsCommandHandler.cs b/src/CellularManagement.Application/Features/RolePermissions/Commands/AddRolePermissions/AddRolePermissionsCommandHandler.cs index 6cbb6e4..5de80ab 100644 --- a/src/CellularManagement.Application/Features/RolePermissions/Commands/AddRolePermissions/AddRolePermissionsCommandHandler.cs +++ b/src/CellularManagement.Application/Features/RolePermissions/Commands/AddRolePermissions/AddRolePermissionsCommandHandler.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using System.Threading; using System; using System.Linq; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.RolePermissions.Commands.AddRolePermissions; diff --git a/src/CellularManagement.Application/Features/RolePermissions/Commands/DeleteRolePermissions/DeleteRolePermissionsCommandHandler.cs b/src/CellularManagement.Application/Features/RolePermissions/Commands/DeleteRolePermissions/DeleteRolePermissionsCommandHandler.cs index 61abc24..829bf12 100644 --- a/src/CellularManagement.Application/Features/RolePermissions/Commands/DeleteRolePermissions/DeleteRolePermissionsCommandHandler.cs +++ b/src/CellularManagement.Application/Features/RolePermissions/Commands/DeleteRolePermissions/DeleteRolePermissionsCommandHandler.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using System.Threading; using System.Linq; using System; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.RolePermissions.Commands.DeleteRolePermissions; diff --git a/src/CellularManagement.Application/Features/RolePermissions/Queries/GetRolePermissions/GetRolePermissionsQueryHandler.cs b/src/CellularManagement.Application/Features/RolePermissions/Queries/GetRolePermissions/GetRolePermissionsQueryHandler.cs index a4d9035..0930eb3 100644 --- a/src/CellularManagement.Application/Features/RolePermissions/Queries/GetRolePermissions/GetRolePermissionsQueryHandler.cs +++ b/src/CellularManagement.Application/Features/RolePermissions/Queries/GetRolePermissions/GetRolePermissionsQueryHandler.cs @@ -6,6 +6,7 @@ using System.Threading.Tasks; using System.Threading; using System.Linq; using System; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Application.Features.RolePermissions.Queries.GetRolePermissions; diff --git a/src/CellularManagement.Application/Features/Users/Commands/CreateUser/CreateUserCommandHandler.cs b/src/CellularManagement.Application/Features/Users/Commands/CreateUser/CreateUserCommandHandler.cs index 43f0e4a..8eaf6a3 100644 --- a/src/CellularManagement.Application/Features/Users/Commands/CreateUser/CreateUserCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Users/Commands/CreateUser/CreateUserCommandHandler.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System; using System.Linq; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Users.Commands.CreateUser; diff --git a/src/CellularManagement.Application/Features/Users/Commands/DeleteUser/DeleteUserCommandHandler.cs b/src/CellularManagement.Application/Features/Users/Commands/DeleteUser/DeleteUserCommandHandler.cs index 244da38..b357afd 100644 --- a/src/CellularManagement.Application/Features/Users/Commands/DeleteUser/DeleteUserCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Users/Commands/DeleteUser/DeleteUserCommandHandler.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System.Linq; using System; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Users.Commands.DeleteUser; diff --git a/src/CellularManagement.Application/Features/Users/Commands/UpdateUser/UpdateUserCommandHandler.cs b/src/CellularManagement.Application/Features/Users/Commands/UpdateUser/UpdateUserCommandHandler.cs index b306f99..c13b144 100644 --- a/src/CellularManagement.Application/Features/Users/Commands/UpdateUser/UpdateUserCommandHandler.cs +++ b/src/CellularManagement.Application/Features/Users/Commands/UpdateUser/UpdateUserCommandHandler.cs @@ -8,6 +8,7 @@ using System.Threading.Tasks; using System.Threading; using System.Linq; using System; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Application.Features.Users.Commands.UpdateUser; diff --git a/src/CellularManagement.Infrastructure/Context/UnitOfWork.cs b/src/CellularManagement.Infrastructure/Context/UnitOfWork.cs index 08f20f4..0c79778 100644 --- a/src/CellularManagement.Infrastructure/Context/UnitOfWork.cs +++ b/src/CellularManagement.Infrastructure/Context/UnitOfWork.cs @@ -4,6 +4,7 @@ using Microsoft.EntityFrameworkCore; using CellularManagement.Domain.Repositories; using Microsoft.Extensions.Logging; using CellularManagement.Domain.Abstractions; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Infrastructure.Context; diff --git a/src/CellularManagement.Infrastructure/DependencyInjection.cs b/src/CellularManagement.Infrastructure/DependencyInjection.cs index 36d6fbf..a36e0f7 100644 --- a/src/CellularManagement.Infrastructure/DependencyInjection.cs +++ b/src/CellularManagement.Infrastructure/DependencyInjection.cs @@ -17,6 +17,8 @@ using CellularManagement.Domain.Options; using CellularManagement.Infrastructure.Repositories.CQRS; using CellularManagement.Infrastructure.Repositories.Identity; using CellularManagement.Infrastructure.Configurations.Common; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure; diff --git a/src/CellularManagement.Infrastructure/Repositories/Base/BaseRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Base/BaseRepository.cs index a196288..55ee5e0 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Base/BaseRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Base/BaseRepository.cs @@ -1,5 +1,6 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Repositories; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Infrastructure.Repositories.Base; diff --git a/src/CellularManagement.Infrastructure/Repositories/CQRS/CommandRepository.cs b/src/CellularManagement.Infrastructure/Repositories/CQRS/CommandRepository.cs index 0fefe33..cb961c5 100644 --- a/src/CellularManagement.Infrastructure/Repositories/CQRS/CommandRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/CQRS/CommandRepository.cs @@ -3,6 +3,7 @@ using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Context; using System.Linq.Expressions; using Microsoft.Extensions.Logging; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Infrastructure.Repositories.CQRS; diff --git a/src/CellularManagement.Infrastructure/Repositories/CQRS/QueryRepository.cs b/src/CellularManagement.Infrastructure/Repositories/CQRS/QueryRepository.cs index bce01a7..c01d997 100644 --- a/src/CellularManagement.Infrastructure/Repositories/CQRS/QueryRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/CQRS/QueryRepository.cs @@ -3,6 +3,7 @@ using System.Linq.Expressions; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Context; using Microsoft.Extensions.Logging; +using CellularManagement.Domain.Repositories.Base; namespace CellularManagement.Infrastructure.Repositories.CQRS; diff --git a/src/CellularManagement.Infrastructure/Repositories/Device/CellularDeviceRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Device/CellularDeviceRepository.cs index 28102dc..7c3ab78 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Device/CellularDeviceRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Device/CellularDeviceRepository.cs @@ -8,6 +8,8 @@ using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Repositories.Base; using CellularManagement.Domain.Entities.Device; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Device; namespace CellularManagement.Infrastructure.Repositories.Device; diff --git a/src/CellularManagement.Infrastructure/Repositories/Identity/LoginLogRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Identity/LoginLogRepository.cs index de0a8db..bbc8d87 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Identity/LoginLogRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Identity/LoginLogRepository.cs @@ -9,6 +9,8 @@ using CellularManagement.Domain.Models; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Repositories.Base; using CellularManagement.Domain.Entities.Logging; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Repositories.Identity; diff --git a/src/CellularManagement.Infrastructure/Repositories/Identity/PermissionRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Identity/PermissionRepository.cs index 4863a6a..f4815f4 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Identity/PermissionRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Identity/PermissionRepository.cs @@ -6,6 +6,8 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Repositories.Base; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Repositories.Identity; diff --git a/src/CellularManagement.Infrastructure/Repositories/Identity/RolePermissionRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Identity/RolePermissionRepository.cs index 140594e..8550f50 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Identity/RolePermissionRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Identity/RolePermissionRepository.cs @@ -6,6 +6,8 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Repositories.Base; +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Repositories.Identity; diff --git a/src/CellularManagement.Infrastructure/Repositories/Identity/UserRoleRepository.cs b/src/CellularManagement.Infrastructure/Repositories/Identity/UserRoleRepository.cs index b3c319c..1db76c1 100644 --- a/src/CellularManagement.Infrastructure/Repositories/Identity/UserRoleRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/Identity/UserRoleRepository.cs @@ -5,7 +5,8 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Repositories.Base; - +using CellularManagement.Domain.Repositories.Base; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Repositories.Identity; /// diff --git a/src/CellularManagement.Infrastructure/Repositories/UserRoleServiceRepository.cs b/src/CellularManagement.Infrastructure/Repositories/UserRoleServiceRepository.cs index 2897bc7..ff3c198 100644 --- a/src/CellularManagement.Infrastructure/Repositories/UserRoleServiceRepository.cs +++ b/src/CellularManagement.Infrastructure/Repositories/UserRoleServiceRepository.cs @@ -7,6 +7,7 @@ using Microsoft.Extensions.Logging; using CellularManagement.Domain.Entities; using CellularManagement.Domain.Repositories; using CellularManagement.Infrastructure.Context; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Repositories; diff --git a/src/CellularManagement.Infrastructure/Services/UserRegistrationService.cs b/src/CellularManagement.Infrastructure/Services/UserRegistrationService.cs index 020984f..e404322 100644 --- a/src/CellularManagement.Infrastructure/Services/UserRegistrationService.cs +++ b/src/CellularManagement.Infrastructure/Services/UserRegistrationService.cs @@ -9,6 +9,7 @@ using System.Linq; using Microsoft.EntityFrameworkCore; using CellularManagement.Domain.Repositories; using System.Threading; +using CellularManagement.Domain.Repositories.Identity; namespace CellularManagement.Infrastructure.Services;