From d082ff90e57ed6bf2421993100b2ba20f3074d56 Mon Sep 17 00:00:00 2001 From: prtsie Date: Tue, 20 Aug 2024 17:00:01 +0300 Subject: [PATCH] Renamed folder --- .../IDateTimeProvider.cs | 2 +- .../IGenericRepository.cs | 2 +- .../IUnitOfWork.cs | 2 +- .../Services/Applicants/NeededServices/IApplicantsRepository.cs | 2 +- .../Services/AuthServices/NeededServices/IUsersRepository.cs | 2 +- .../Services/AuthServices/RegisterService/RegisterService.cs | 2 +- .../Services/Locations/NeededServices/ICitiesRepository.cs | 2 +- .../Services/Locations/NeededServices/ICountriesRepository.cs | 2 +- .../Locations/RequestHandlers/LocationRequestsHandler.cs | 2 +- .../VisaApplications/Handlers/VisaApplicationRequestsHandler.cs | 2 +- .../NeededServices/IVisaApplicationsRepository.cs | 2 +- .../Infrastructure/Auth/ServiceCollectionsExtensions.cs | 2 +- SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs | 2 +- SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs | 2 +- SchengenVisaApi/Infrastructure/Database/DbContext.cs | 2 +- .../Infrastructure/Database/Generic/GenericRepository.cs | 2 +- .../Infrastructure/Database/Generic/IGenericWriter.cs | 2 +- SchengenVisaApi/Infrastructure/DependencyInjection.cs | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) rename SchengenVisaApi/ApplicationLayer/{GeneralNeededServices => InfrastructureServicesInterfaces}/IDateTimeProvider.cs (69%) rename SchengenVisaApi/ApplicationLayer/{GeneralNeededServices => InfrastructureServicesInterfaces}/IGenericRepository.cs (95%) rename SchengenVisaApi/ApplicationLayer/{GeneralNeededServices => InfrastructureServicesInterfaces}/IUnitOfWork.cs (75%) diff --git a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IDateTimeProvider.cs b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IDateTimeProvider.cs similarity index 69% rename from SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IDateTimeProvider.cs rename to SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IDateTimeProvider.cs index 5395cce..2b49c40 100644 --- a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IDateTimeProvider.cs +++ b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IDateTimeProvider.cs @@ -1,4 +1,4 @@ -namespace ApplicationLayer.GeneralNeededServices +namespace ApplicationLayer.InfrastructureServicesInterfaces { public interface IDateTimeProvider {//todo rename folder diff --git a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IGenericRepository.cs b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IGenericRepository.cs similarity index 95% rename from SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IGenericRepository.cs rename to SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IGenericRepository.cs index e0d84ca..03602c1 100644 --- a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IGenericRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IGenericRepository.cs @@ -1,6 +1,6 @@ using Domains; -namespace ApplicationLayer.GeneralNeededServices; +namespace ApplicationLayer.InfrastructureServicesInterfaces; /// /// Generic repository pattern diff --git a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IUnitOfWork.cs b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IUnitOfWork.cs similarity index 75% rename from SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IUnitOfWork.cs rename to SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IUnitOfWork.cs index cf7fef7..e6578cd 100644 --- a/SchengenVisaApi/ApplicationLayer/GeneralNeededServices/IUnitOfWork.cs +++ b/SchengenVisaApi/ApplicationLayer/InfrastructureServicesInterfaces/IUnitOfWork.cs @@ -1,4 +1,4 @@ -namespace ApplicationLayer.GeneralNeededServices; +namespace ApplicationLayer.InfrastructureServicesInterfaces; public interface IUnitOfWork { diff --git a/SchengenVisaApi/ApplicationLayer/Services/Applicants/NeededServices/IApplicantsRepository.cs b/SchengenVisaApi/ApplicationLayer/Services/Applicants/NeededServices/IApplicantsRepository.cs index 36ed62d..065734b 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/Applicants/NeededServices/IApplicantsRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/Applicants/NeededServices/IApplicantsRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.ApplicantDomain; namespace ApplicationLayer.Services.Applicants.NeededServices; diff --git a/SchengenVisaApi/ApplicationLayer/Services/AuthServices/NeededServices/IUsersRepository.cs b/SchengenVisaApi/ApplicationLayer/Services/AuthServices/NeededServices/IUsersRepository.cs index c7b5b4f..ef82a20 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/AuthServices/NeededServices/IUsersRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/AuthServices/NeededServices/IUsersRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.Users; namespace ApplicationLayer.Services.AuthServices.NeededServices diff --git a/SchengenVisaApi/ApplicationLayer/Services/AuthServices/RegisterService/RegisterService.cs b/SchengenVisaApi/ApplicationLayer/Services/AuthServices/RegisterService/RegisterService.cs index 2b77162..0f5c534 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/AuthServices/RegisterService/RegisterService.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/AuthServices/RegisterService/RegisterService.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.Applicants.NeededServices; using ApplicationLayer.Services.AuthServices.NeededServices; using ApplicationLayer.Services.AuthServices.RegisterService.Exceptions; diff --git a/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICitiesRepository.cs b/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICitiesRepository.cs index a95606a..3efd6dc 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICitiesRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICitiesRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.LocationDomain; namespace ApplicationLayer.Services.Locations.NeededServices; diff --git a/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICountriesRepository.cs b/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICountriesRepository.cs index f69c906..a01cbc3 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICountriesRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/Locations/NeededServices/ICountriesRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.LocationDomain; namespace ApplicationLayer.Services.Locations.NeededServices; diff --git a/SchengenVisaApi/ApplicationLayer/Services/Locations/RequestHandlers/LocationRequestsHandler.cs b/SchengenVisaApi/ApplicationLayer/Services/Locations/RequestHandlers/LocationRequestsHandler.cs index a4f87ca..e511c4b 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/Locations/RequestHandlers/LocationRequestsHandler.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/Locations/RequestHandlers/LocationRequestsHandler.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.Locations.NeededServices; using ApplicationLayer.Services.Locations.RequestHandlers.Exceptions; using ApplicationLayer.Services.Locations.Requests; diff --git a/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/Handlers/VisaApplicationRequestsHandler.cs b/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/Handlers/VisaApplicationRequestsHandler.cs index 84efd98..04b82cc 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/Handlers/VisaApplicationRequestsHandler.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/Handlers/VisaApplicationRequestsHandler.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.Applicants.NeededServices; using ApplicationLayer.Services.Locations.NeededServices; using ApplicationLayer.Services.VisaApplications.Models; diff --git a/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/NeededServices/IVisaApplicationsRepository.cs b/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/NeededServices/IVisaApplicationsRepository.cs index bb0b2a0..8904a67 100644 --- a/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/NeededServices/IVisaApplicationsRepository.cs +++ b/SchengenVisaApi/ApplicationLayer/Services/VisaApplications/NeededServices/IVisaApplicationsRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains.VisaApplicationDomain; namespace ApplicationLayer.Services.VisaApplications.NeededServices; diff --git a/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionsExtensions.cs b/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionsExtensions.cs index bb9ad38..84e523d 100644 --- a/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionsExtensions.cs +++ b/SchengenVisaApi/Infrastructure/Auth/ServiceCollectionsExtensions.cs @@ -1,5 +1,5 @@ using System.IdentityModel.Tokens.Jwt; -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.AuthServices.NeededServices; using Microsoft.Extensions.DependencyInjection; diff --git a/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs b/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs index 44f13ed..cea5994 100644 --- a/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs +++ b/SchengenVisaApi/Infrastructure/Auth/TokenGenerator.cs @@ -1,6 +1,6 @@ using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.AuthServices.NeededServices; using Domains.Users; diff --git a/SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs b/SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs index 752872b..2db90fb 100644 --- a/SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs +++ b/SchengenVisaApi/Infrastructure/Common/DateTimeProvider.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; namespace Infrastructure.Common { diff --git a/SchengenVisaApi/Infrastructure/Database/DbContext.cs b/SchengenVisaApi/Infrastructure/Database/DbContext.cs index f4fa8fb..9d48aa7 100644 --- a/SchengenVisaApi/Infrastructure/Database/DbContext.cs +++ b/SchengenVisaApi/Infrastructure/Database/DbContext.cs @@ -1,5 +1,5 @@ using System.Reflection; -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Infrastructure.Database.Generic; using Microsoft.EntityFrameworkCore; diff --git a/SchengenVisaApi/Infrastructure/Database/Generic/GenericRepository.cs b/SchengenVisaApi/Infrastructure/Database/Generic/GenericRepository.cs index 0a9fc3a..937e0dd 100644 --- a/SchengenVisaApi/Infrastructure/Database/Generic/GenericRepository.cs +++ b/SchengenVisaApi/Infrastructure/Database/Generic/GenericRepository.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains; using Infrastructure.Database.GeneralExceptions; using Microsoft.EntityFrameworkCore; diff --git a/SchengenVisaApi/Infrastructure/Database/Generic/IGenericWriter.cs b/SchengenVisaApi/Infrastructure/Database/Generic/IGenericWriter.cs index d84a68e..1843048 100644 --- a/SchengenVisaApi/Infrastructure/Database/Generic/IGenericWriter.cs +++ b/SchengenVisaApi/Infrastructure/Database/Generic/IGenericWriter.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using Domains; namespace Infrastructure.Database.Generic; diff --git a/SchengenVisaApi/Infrastructure/DependencyInjection.cs b/SchengenVisaApi/Infrastructure/DependencyInjection.cs index 775895b..06daa13 100644 --- a/SchengenVisaApi/Infrastructure/DependencyInjection.cs +++ b/SchengenVisaApi/Infrastructure/DependencyInjection.cs @@ -1,4 +1,4 @@ -using ApplicationLayer.GeneralNeededServices; +using ApplicationLayer.InfrastructureServicesInterfaces; using ApplicationLayer.Services.Applicants.NeededServices; using ApplicationLayer.Services.AuthServices.NeededServices; using ApplicationLayer.Services.Locations.NeededServices;