From 7c7956c6ba8b65efdb6f72c7135a77b530142ffe Mon Sep 17 00:00:00 2001 From: SwimmingRieux <141845753+SwimmingRieux@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:24:34 +0330 Subject: [PATCH] Fix(expansion): Expand bug fix (#58) * merge * removed all local contexts --- .../Controllers/AttributesController.cs | 2 ++ .../Controllers/Auth/AuthController.cs | 3 ++- .../Controllers/Graph/EdgeController.cs | 4 ++- .../Controllers/Graph/GraphController.cs | 1 + .../Controllers/Graph/NodeController.cs | 4 ++- .../Controllers/Panel/AdminController.cs | 4 ++- .../Controllers/Panel/UserController.cs | 1 + .../Dto/Graph/Edge/UploadEdgeDto.cs | 1 + RelationshipAnalysis/Dto/Graph/GraphDto.cs | 1 + .../Dto/Graph/Node/UploadNodeDto.cs | 1 + .../Dto/Panel/Admin/CreateUserDto.cs | 3 ++- .../Dto/Panel/Admin/GetAllUsersDto.cs | 3 ++- .../Dto/Panel/User/UserOutputInfoDto.cs | 2 ++ .../Middlewares/SanitizationMiddleware.cs | 6 +++++ RelationshipAnalysis/Models/Auth/Role.cs | 3 ++- RelationshipAnalysis/Models/Auth/User.cs | 3 ++- .../Models/Graph/Edge/Edge.cs | 1 + .../Models/Graph/Edge/EdgeAttribute.cs | 1 + .../Models/Graph/Edge/EdgeCategory.cs | 1 + .../Models/Graph/Node/Node.cs | 1 + .../Models/Graph/Node/NodeAttribute.cs | 1 + .../Models/Graph/Node/NodeCategory.cs | 1 + RelationshipAnalysis/Program.cs | 5 ++++ .../AuthServices/Abstraction/ICookieSetter.cs | 4 ++- .../AuthServices/Abstraction/ILoginService.cs | 4 ++- .../Services/AuthServices/CookieSetter.cs | 4 ++- .../AuthServices/CustomPasswordHasher.cs | 3 ++- .../AuthServices/JwtTokenGenerator.cs | 4 ++- .../Services/AuthServices/LoginService.cs | 4 ++- .../Abstraction/IPermissionsReceiver.cs | 5 +++- .../CRUD/Permissions/PermissionsReceiver.cs | 5 +++- .../CRUD/Role/Abstraction/IRoleReceiver.cs | 3 +++ .../Services/CRUD/Role/RoleReceiver.cs | 5 ++++ .../CRUD/User/Abstraction/IUserAdder.cs | 4 ++- .../CRUD/User/Abstraction/IUserDeleter.cs | 4 ++- .../CRUD/User/Abstraction/IUserReceiver.cs | 2 ++ .../CRUD/User/Abstraction/IUserUpdater.cs | 4 ++- .../Services/CRUD/User/UserAdder.cs | 5 +++- .../Services/CRUD/User/UserDeleter.cs | 5 +++- .../Services/CRUD/User/UserReceiver.cs | 5 ++++ .../Services/CRUD/User/UserUpdater.cs | 5 +++- .../UserRole/Abstraction/IUserRolesAdder.cs | 5 +++- .../UserRole/Abstraction/IUserRolesRemover.cs | 4 ++- .../Services/CRUD/UserRole/UserRolesAdder.cs | 7 ++++- .../CRUD/UserRole/UserRolesRemover.cs | 5 +++- .../Abstraction/IAttributesReceiver.cs | 3 +++ .../Abstraction/ICsvProcessorService.cs | 4 +++ .../Abstraction/ICsvValidatorService.cs | 1 + .../Abstraction/IInfoReceiver.cs | 2 ++ .../GraphServices/CsvProcessorService.cs | 4 +++ .../GraphServices/CsvValidatorService.cs | 3 +++ .../IContextEdgesAdditionService.cs | 2 ++ .../Abstraction/ICreateEdgeCategoryService.cs | 3 ++- .../Edge/Abstraction/IEdgeCategoryReceiver.cs | 5 +++- .../Abstraction/IEdgeValueAdditionService.cs | 2 ++ .../Edge/Abstraction/IEdgesAdditionService.cs | 3 ++- .../Abstraction/ISingleEdgeAdditionService.cs | 4 ++- .../Edge/ContextEdgesAdditionService.cs | 3 +++ .../Edge/CreateEdgeCategoryService.cs | 6 ++++- .../Edge/EdgeAttributesReceiver.cs | 5 ++++ .../Edge/EdgeCategoryReceiver.cs | 7 ++++- .../GraphServices/Edge/EdgeInfoReceiver.cs | 5 ++++ .../Edge/EdgeValueAdditionService.cs | 3 +++ .../Edge/EdgesAdditionService.cs | 5 +++- .../Edge/SingleEdgeAdditionService.cs | 5 +++- .../Abstraction/IExpansionGraphReceiver.cs | 1 + .../Graph/Abstraction/IGraphDtoCreator.cs | 1 + .../Graph/Abstraction/IGraphReceiver.cs | 1 + .../Graph/ExpansionGraphReceiver.cs | 27 +++++++++---------- .../GraphServices/Graph/GraphDtoCreator.cs | 2 ++ .../GraphServices/Graph/GraphReceiver.cs | 3 +++ .../IContextNodesAdditionService.cs | 2 ++ .../Abstraction/ICreateNodeCategoryService.cs | 3 ++- .../Node/Abstraction/INodeCategoryReceiver.cs | 5 +++- .../Abstraction/INodeValueAdditionService.cs | 2 ++ .../Node/Abstraction/INodesAdditionService.cs | 1 + .../Abstraction/ISingleNodeAdditionService.cs | 2 ++ .../Node/ContextNodesAdditionService.cs | 3 +++ .../Node/CreateNodeCategoryService.cs | 6 ++++- .../Node/NodeAttributesReceiver.cs | 5 ++++ .../Node/NodeCategoryReceiver.cs | 7 ++++- .../GraphServices/Node/NodeInfoReceiver.cs | 5 ++++ .../Node/NodeValueAdditionService.cs | 3 +++ .../Node/NodesAdditionService.cs | 3 +++ .../Node/SingleNodeAdditionService.cs | 3 +++ .../Abstraction/IAllUserDtoCreator.cs | 4 ++- .../Abstraction/IAllUserService.cs | 4 ++- .../Abstraction/IAllUserServiceValidator.cs | 4 ++- .../AllUserService/AllUserDtoCreator.cs | 4 ++- .../AllUserService/AllUserService.cs | 4 ++- .../AllUserService/AllUserServiceValidator.cs | 4 ++- .../Abstraction/IUserCreateService.cs | 3 ++- .../IUserCreateServiceValidator.cs | 3 ++- .../CreateUserService/UserCreateService.cs | 3 ++- .../UserCreateServiceValidator.cs | 6 ++++- .../Abstraction/IUserDeleteService.cs | 3 ++- .../IUserDeleteServiceValidator.cs | 3 ++- .../UserDeleteService/UserDeleteService.cs | 3 ++- .../UserDeleteServiceValidator.cs | 3 ++- .../Abstraction/IUserUpdateRolesService.cs | 4 ++- .../IUserUpdateRolesServiceValidator.cs | 4 ++- .../UserUpdateRolesService.cs | 4 ++- .../UserUpdateRolesServiceValidator.cs | 7 ++++- .../Abstraction/ILogoutService.cs | 2 ++ .../LogoutService/LogoutService.cs | 1 + .../Abstraction/IPermissionService.cs | 3 ++- .../PermissionsService/PermissionService.cs | 3 ++- .../Abstraction/IUserInfoService.cs | 1 + .../Abstraction/IUserInfoServiceValidator.cs | 3 ++- .../Abstraction/IUserOutputInfoDtoCreator.cs | 3 ++- .../UserInfoService/UserInfoService.cs | 1 + .../UserInfoServiceValidator.cs | 3 ++- .../UserOutputInfoDtoCreator.cs | 3 ++- .../Abstraction/IUserUpdateInfoService.cs | 2 ++ .../IUserUpdateInfoServiceValidator.cs | 3 ++- .../UserUpdateInfoService.cs | 2 ++ .../UserUpdateInfoServiceValidator.cs | 6 ++++- .../Abstraction/IUserUpdatePasswordService.cs | 1 + .../IUserUpdatePasswordServiceValidator.cs | 3 ++- .../UserUpdatePasswordService.cs | 1 + .../UserUpdatePasswordServiceValidator.cs | 3 ++- 121 files changed, 342 insertions(+), 81 deletions(-) diff --git a/RelationshipAnalysis/Controllers/AttributesController.cs b/RelationshipAnalysis/Controllers/AttributesController.cs index 0e0a197..9836a98 100644 --- a/RelationshipAnalysis/Controllers/AttributesController.cs +++ b/RelationshipAnalysis/Controllers/AttributesController.cs @@ -1,5 +1,7 @@ +using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Services.GraphServices.Abstraction; namespace RelationshipAnalysis.Controllers; diff --git a/RelationshipAnalysis/Controllers/Auth/AuthController.cs b/RelationshipAnalysis/Controllers/Auth/AuthController.cs index c0d312b..9d4a401 100644 --- a/RelationshipAnalysis/Controllers/Auth/AuthController.cs +++ b/RelationshipAnalysis/Controllers/Auth/AuthController.cs @@ -1,4 +1,5 @@ -using Microsoft.AspNetCore.Mvc; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Mvc; using RelationshipAnalysis.Dto.Auth; using RelationshipAnalysis.Services.AuthServices.Abstraction; diff --git a/RelationshipAnalysis/Controllers/Graph/EdgeController.cs b/RelationshipAnalysis/Controllers/Graph/EdgeController.cs index d301d99..2963986 100644 --- a/RelationshipAnalysis/Controllers/Graph/EdgeController.cs +++ b/RelationshipAnalysis/Controllers/Graph/EdgeController.cs @@ -1,5 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Dto.Graph.Edge; using RelationshipAnalysis.Services.GraphServices.Abstraction; using RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Controllers/Graph/GraphController.cs b/RelationshipAnalysis/Controllers/Graph/GraphController.cs index d5e689b..4c82f62 100644 --- a/RelationshipAnalysis/Controllers/Graph/GraphController.cs +++ b/RelationshipAnalysis/Controllers/Graph/GraphController.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using RelationshipAnalysis.Dto.Graph; diff --git a/RelationshipAnalysis/Controllers/Graph/NodeController.cs b/RelationshipAnalysis/Controllers/Graph/NodeController.cs index 4290f5c..81ed3b4 100644 --- a/RelationshipAnalysis/Controllers/Graph/NodeController.cs +++ b/RelationshipAnalysis/Controllers/Graph/NodeController.cs @@ -1,5 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Dto.Graph.Node; using RelationshipAnalysis.Services.GraphServices.Abstraction; using RelationshipAnalysis.Services.GraphServices.Node.Abstraction; diff --git a/RelationshipAnalysis/Controllers/Panel/AdminController.cs b/RelationshipAnalysis/Controllers/Panel/AdminController.cs index 50f7543..85d4c37 100644 --- a/RelationshipAnalysis/Controllers/Panel/AdminController.cs +++ b/RelationshipAnalysis/Controllers/Panel/AdminController.cs @@ -1,4 +1,6 @@ -using Microsoft.AspNetCore.Authorization; +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Dto.Panel.User; diff --git a/RelationshipAnalysis/Controllers/Panel/UserController.cs b/RelationshipAnalysis/Controllers/Panel/UserController.cs index 7ddc7c2..3095daa 100644 --- a/RelationshipAnalysis/Controllers/Panel/UserController.cs +++ b/RelationshipAnalysis/Controllers/Panel/UserController.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using RelationshipAnalysis.Dto; diff --git a/RelationshipAnalysis/Dto/Graph/Edge/UploadEdgeDto.cs b/RelationshipAnalysis/Dto/Graph/Edge/UploadEdgeDto.cs index 900bad0..c45b95f 100644 --- a/RelationshipAnalysis/Dto/Graph/Edge/UploadEdgeDto.cs +++ b/RelationshipAnalysis/Dto/Graph/Edge/UploadEdgeDto.cs @@ -1,4 +1,5 @@ using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; namespace RelationshipAnalysis.Dto.Graph.Edge; diff --git a/RelationshipAnalysis/Dto/Graph/GraphDto.cs b/RelationshipAnalysis/Dto/Graph/GraphDto.cs index e03b5e1..518560a 100644 --- a/RelationshipAnalysis/Dto/Graph/GraphDto.cs +++ b/RelationshipAnalysis/Dto/Graph/GraphDto.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using RelationshipAnalysis.Dto.Graph.Edge; using RelationshipAnalysis.Dto.Graph.Node; diff --git a/RelationshipAnalysis/Dto/Graph/Node/UploadNodeDto.cs b/RelationshipAnalysis/Dto/Graph/Node/UploadNodeDto.cs index 2e2e3eb..a33a3f4 100644 --- a/RelationshipAnalysis/Dto/Graph/Node/UploadNodeDto.cs +++ b/RelationshipAnalysis/Dto/Graph/Node/UploadNodeDto.cs @@ -1,4 +1,5 @@ using System.ComponentModel.DataAnnotations; +using Microsoft.AspNetCore.Http; namespace RelationshipAnalysis.Dto.Graph.Node; diff --git a/RelationshipAnalysis/Dto/Panel/Admin/CreateUserDto.cs b/RelationshipAnalysis/Dto/Panel/Admin/CreateUserDto.cs index d2b4730..6d3a411 100644 --- a/RelationshipAnalysis/Dto/Panel/Admin/CreateUserDto.cs +++ b/RelationshipAnalysis/Dto/Panel/Admin/CreateUserDto.cs @@ -1,4 +1,5 @@ -using System.ComponentModel.DataAnnotations; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; namespace RelationshipAnalysis.Dto.Panel.Admin; diff --git a/RelationshipAnalysis/Dto/Panel/Admin/GetAllUsersDto.cs b/RelationshipAnalysis/Dto/Panel/Admin/GetAllUsersDto.cs index 53f561b..b7018b2 100644 --- a/RelationshipAnalysis/Dto/Panel/Admin/GetAllUsersDto.cs +++ b/RelationshipAnalysis/Dto/Panel/Admin/GetAllUsersDto.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto.Panel.User; +using System.Collections.Generic; +using RelationshipAnalysis.Dto.Panel.User; namespace RelationshipAnalysis.Dto.Panel.Admin; diff --git a/RelationshipAnalysis/Dto/Panel/User/UserOutputInfoDto.cs b/RelationshipAnalysis/Dto/Panel/User/UserOutputInfoDto.cs index 71d2e7c..9a170e8 100644 --- a/RelationshipAnalysis/Dto/Panel/User/UserOutputInfoDto.cs +++ b/RelationshipAnalysis/Dto/Panel/User/UserOutputInfoDto.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; + namespace RelationshipAnalysis.Dto.Panel.User; public class UserOutputInfoDto diff --git a/RelationshipAnalysis/Middlewares/SanitizationMiddleware.cs b/RelationshipAnalysis/Middlewares/SanitizationMiddleware.cs index 7d14a27..498fba0 100644 --- a/RelationshipAnalysis/Middlewares/SanitizationMiddleware.cs +++ b/RelationshipAnalysis/Middlewares/SanitizationMiddleware.cs @@ -1,5 +1,11 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; using System.Text; +using System.Threading.Tasks; using Ganss.Xss; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Controllers; using Newtonsoft.Json; diff --git a/RelationshipAnalysis/Models/Auth/Role.cs b/RelationshipAnalysis/Models/Auth/Role.cs index 1a7037f..2d1587d 100644 --- a/RelationshipAnalysis/Models/Auth/Role.cs +++ b/RelationshipAnalysis/Models/Auth/Role.cs @@ -1,4 +1,5 @@ -using System.ComponentModel.DataAnnotations; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; namespace RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Models/Auth/User.cs b/RelationshipAnalysis/Models/Auth/User.cs index e411b1a..5e3cbba 100644 --- a/RelationshipAnalysis/Models/Auth/User.cs +++ b/RelationshipAnalysis/Models/Auth/User.cs @@ -1,4 +1,5 @@ -using System.ComponentModel.DataAnnotations; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; namespace RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Models/Graph/Edge/Edge.cs b/RelationshipAnalysis/Models/Graph/Edge/Edge.cs index 750f4a8..0cf5ec0 100644 --- a/RelationshipAnalysis/Models/Graph/Edge/Edge.cs +++ b/RelationshipAnalysis/Models/Graph/Edge/Edge.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Models/Graph/Edge/EdgeAttribute.cs b/RelationshipAnalysis/Models/Graph/Edge/EdgeAttribute.cs index 301c880..0269f57 100644 --- a/RelationshipAnalysis/Models/Graph/Edge/EdgeAttribute.cs +++ b/RelationshipAnalysis/Models/Graph/Edge/EdgeAttribute.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Models/Graph/Edge/EdgeCategory.cs b/RelationshipAnalysis/Models/Graph/Edge/EdgeCategory.cs index 9a41aba..cbf7c1f 100644 --- a/RelationshipAnalysis/Models/Graph/Edge/EdgeCategory.cs +++ b/RelationshipAnalysis/Models/Graph/Edge/EdgeCategory.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Models/Graph/Node/Node.cs b/RelationshipAnalysis/Models/Graph/Node/Node.cs index 6101f37..2e4f19d 100644 --- a/RelationshipAnalysis/Models/Graph/Node/Node.cs +++ b/RelationshipAnalysis/Models/Graph/Node/Node.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Models/Graph/Node/NodeAttribute.cs b/RelationshipAnalysis/Models/Graph/Node/NodeAttribute.cs index 30aedcc..d8e4d43 100644 --- a/RelationshipAnalysis/Models/Graph/Node/NodeAttribute.cs +++ b/RelationshipAnalysis/Models/Graph/Node/NodeAttribute.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Models/Graph/Node/NodeCategory.cs b/RelationshipAnalysis/Models/Graph/Node/NodeCategory.cs index d930951..8959912 100644 --- a/RelationshipAnalysis/Models/Graph/Node/NodeCategory.cs +++ b/RelationshipAnalysis/Models/Graph/Node/NodeCategory.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Microsoft.EntityFrameworkCore; diff --git a/RelationshipAnalysis/Program.cs b/RelationshipAnalysis/Program.cs index 2a9c5c0..b34d1d9 100644 --- a/RelationshipAnalysis/Program.cs +++ b/RelationshipAnalysis/Program.cs @@ -1,6 +1,11 @@ using System.Text; +using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.Builder; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Context; using RelationshipAnalysis.Middlewares; diff --git a/RelationshipAnalysis/Services/AuthServices/Abstraction/ICookieSetter.cs b/RelationshipAnalysis/Services/AuthServices/Abstraction/ICookieSetter.cs index 77a21f7..ab66184 100644 --- a/RelationshipAnalysis/Services/AuthServices/Abstraction/ICookieSetter.cs +++ b/RelationshipAnalysis/Services/AuthServices/Abstraction/ICookieSetter.cs @@ -1,4 +1,6 @@ -namespace RelationshipAnalysis.Services.AuthServices.Abstraction; +using Microsoft.AspNetCore.Http; + +namespace RelationshipAnalysis.Services.AuthServices.Abstraction; public interface ICookieSetter { diff --git a/RelationshipAnalysis/Services/AuthServices/Abstraction/ILoginService.cs b/RelationshipAnalysis/Services/AuthServices/Abstraction/ILoginService.cs index f4187f5..d56a059 100644 --- a/RelationshipAnalysis/Services/AuthServices/Abstraction/ILoginService.cs +++ b/RelationshipAnalysis/Services/AuthServices/Abstraction/ILoginService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Auth; using LoginDto = RelationshipAnalysis.Dto.Auth.LoginDto; diff --git a/RelationshipAnalysis/Services/AuthServices/CookieSetter.cs b/RelationshipAnalysis/Services/AuthServices/CookieSetter.cs index 6e6987b..be59829 100644 --- a/RelationshipAnalysis/Services/AuthServices/CookieSetter.cs +++ b/RelationshipAnalysis/Services/AuthServices/CookieSetter.cs @@ -1,4 +1,6 @@ -using Microsoft.Extensions.Options; +using System; +using Microsoft.AspNetCore.Http; +using Microsoft.Extensions.Options; using RelationshipAnalysis.Services.AuthServices.Abstraction; using RelationshipAnalysis.Settings.JWT; diff --git a/RelationshipAnalysis/Services/AuthServices/CustomPasswordHasher.cs b/RelationshipAnalysis/Services/AuthServices/CustomPasswordHasher.cs index 77648cf..732a6fc 100644 --- a/RelationshipAnalysis/Services/AuthServices/CustomPasswordHasher.cs +++ b/RelationshipAnalysis/Services/AuthServices/CustomPasswordHasher.cs @@ -1,4 +1,5 @@ -using System.Security.Cryptography; +using System; +using System.Security.Cryptography; using System.Text; using RelationshipAnalysis.Services.AuthServices.Abstraction; diff --git a/RelationshipAnalysis/Services/AuthServices/JwtTokenGenerator.cs b/RelationshipAnalysis/Services/AuthServices/JwtTokenGenerator.cs index a9da7e6..6783f83 100644 --- a/RelationshipAnalysis/Services/AuthServices/JwtTokenGenerator.cs +++ b/RelationshipAnalysis/Services/AuthServices/JwtTokenGenerator.cs @@ -1,4 +1,6 @@ -using System.IdentityModel.Tokens.Jwt; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using Microsoft.Extensions.Options; diff --git a/RelationshipAnalysis/Services/AuthServices/LoginService.cs b/RelationshipAnalysis/Services/AuthServices/LoginService.cs index 5f305f2..13f0c98 100644 --- a/RelationshipAnalysis/Services/AuthServices/LoginService.cs +++ b/RelationshipAnalysis/Services/AuthServices/LoginService.cs @@ -1,4 +1,6 @@ -using Microsoft.EntityFrameworkCore; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; +using Microsoft.EntityFrameworkCore; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Auth; diff --git a/RelationshipAnalysis/Services/CRUD/Permissions/Abstraction/IPermissionsReceiver.cs b/RelationshipAnalysis/Services/CRUD/Permissions/Abstraction/IPermissionsReceiver.cs index 0641fb8..4f67ab9 100644 --- a/RelationshipAnalysis/Services/CRUD/Permissions/Abstraction/IPermissionsReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/Permissions/Abstraction/IPermissionsReceiver.cs @@ -1,4 +1,7 @@ -namespace RelationshipAnalysis.Services.CRUD.Permissions.Abstraction; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.Permissions.Abstraction; public interface IPermissionsReceiver { diff --git a/RelationshipAnalysis/Services/CRUD/Permissions/PermissionsReceiver.cs b/RelationshipAnalysis/Services/CRUD/Permissions/PermissionsReceiver.cs index 8cb9317..34efd4d 100644 --- a/RelationshipAnalysis/Services/CRUD/Permissions/PermissionsReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/Permissions/PermissionsReceiver.cs @@ -1,4 +1,7 @@ -using Newtonsoft.Json; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Newtonsoft.Json; using RelationshipAnalysis.Models.Auth; using RelationshipAnalysis.Services.CRUD.Permissions.Abstraction; using RelationshipAnalysis.Services.CRUD.Role.Abstraction; diff --git a/RelationshipAnalysis/Services/CRUD/Role/Abstraction/IRoleReceiver.cs b/RelationshipAnalysis/Services/CRUD/Role/Abstraction/IRoleReceiver.cs index 03f595c..84d326e 100644 --- a/RelationshipAnalysis/Services/CRUD/Role/Abstraction/IRoleReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/Role/Abstraction/IRoleReceiver.cs @@ -1,3 +1,6 @@ +using System.Collections.Generic; +using System.Threading.Tasks; + namespace RelationshipAnalysis.Services.CRUD.Role.Abstraction; public interface IRoleReceiver diff --git a/RelationshipAnalysis/Services/CRUD/Role/RoleReceiver.cs b/RelationshipAnalysis/Services/CRUD/Role/RoleReceiver.cs index b8ba1ea..5ba2ec4 100644 --- a/RelationshipAnalysis/Services/CRUD/Role/RoleReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/Role/RoleReceiver.cs @@ -1,4 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.Role.Abstraction; diff --git a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserAdder.cs b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserAdder.cs index f57a0e7..fb3496e 100644 --- a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserAdder.cs +++ b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserAdder.cs @@ -1,4 +1,6 @@ -namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; public interface IUserAdder { diff --git a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserDeleter.cs b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserDeleter.cs index d3aeb43..c9eea8f 100644 --- a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserDeleter.cs +++ b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserDeleter.cs @@ -1,4 +1,6 @@ -namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; public interface IUserDeleter { diff --git a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserReceiver.cs b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserReceiver.cs index b183dd6..dd3a330 100644 --- a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserReceiver.cs @@ -1,4 +1,6 @@ +using System.Collections.Generic; using System.Security.Claims; +using System.Threading.Tasks; namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; diff --git a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserUpdater.cs b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserUpdater.cs index 93d54d1..427365b 100644 --- a/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserUpdater.cs +++ b/RelationshipAnalysis/Services/CRUD/User/Abstraction/IUserUpdater.cs @@ -1,4 +1,6 @@ -namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.User.Abstraction; public interface IUserUpdater { diff --git a/RelationshipAnalysis/Services/CRUD/User/UserAdder.cs b/RelationshipAnalysis/Services/CRUD/User/UserAdder.cs index b4e8a89..2d264d8 100644 --- a/RelationshipAnalysis/Services/CRUD/User/UserAdder.cs +++ b/RelationshipAnalysis/Services/CRUD/User/UserAdder.cs @@ -1,4 +1,7 @@ -using RelationshipAnalysis.Context; +using System; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.User.Abstraction; namespace RelationshipAnalysis.Services.CRUD.User; diff --git a/RelationshipAnalysis/Services/CRUD/User/UserDeleter.cs b/RelationshipAnalysis/Services/CRUD/User/UserDeleter.cs index efa7c4a..26288de 100644 --- a/RelationshipAnalysis/Services/CRUD/User/UserDeleter.cs +++ b/RelationshipAnalysis/Services/CRUD/User/UserDeleter.cs @@ -1,4 +1,7 @@ -using RelationshipAnalysis.Context; +using System; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.User.Abstraction; namespace RelationshipAnalysis.Services.CRUD.User; diff --git a/RelationshipAnalysis/Services/CRUD/User/UserReceiver.cs b/RelationshipAnalysis/Services/CRUD/User/UserReceiver.cs index c57e646..eb6f68e 100644 --- a/RelationshipAnalysis/Services/CRUD/User/UserReceiver.cs +++ b/RelationshipAnalysis/Services/CRUD/User/UserReceiver.cs @@ -1,5 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; using System.Security.Claims; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.User.Abstraction; diff --git a/RelationshipAnalysis/Services/CRUD/User/UserUpdater.cs b/RelationshipAnalysis/Services/CRUD/User/UserUpdater.cs index c123d9f..73e8d71 100644 --- a/RelationshipAnalysis/Services/CRUD/User/UserUpdater.cs +++ b/RelationshipAnalysis/Services/CRUD/User/UserUpdater.cs @@ -1,4 +1,7 @@ -using RelationshipAnalysis.Context; +using System; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.User.Abstraction; namespace RelationshipAnalysis.Services.CRUD.User; diff --git a/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesAdder.cs b/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesAdder.cs index 6dcabd3..f5cfdbf 100644 --- a/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesAdder.cs +++ b/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesAdder.cs @@ -1,4 +1,7 @@ -namespace RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; public interface IUserRolesAdder { diff --git a/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesRemover.cs b/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesRemover.cs index 4be9734..3167c3c 100644 --- a/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesRemover.cs +++ b/RelationshipAnalysis/Services/CRUD/UserRole/Abstraction/IUserRolesRemover.cs @@ -1,4 +1,6 @@ -namespace RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; public interface IUserRolesRemover { diff --git a/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesAdder.cs b/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesAdder.cs index 5c6d63a..f2cbce1 100644 --- a/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesAdder.cs +++ b/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesAdder.cs @@ -1,4 +1,9 @@ -using RelationshipAnalysis.Context; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; namespace RelationshipAnalysis.Services.CRUD.UserRole; diff --git a/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesRemover.cs b/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesRemover.cs index cdb0675..cfd2c86 100644 --- a/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesRemover.cs +++ b/RelationshipAnalysis/Services/CRUD/UserRole/UserRolesRemover.cs @@ -1,4 +1,7 @@ -using Microsoft.EntityFrameworkCore; +using System; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.CRUD.UserRole.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Abstraction/IAttributesReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Abstraction/IAttributesReceiver.cs index b57c5ac..8d143ca 100644 --- a/RelationshipAnalysis/Services/GraphServices/Abstraction/IAttributesReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Abstraction/IAttributesReceiver.cs @@ -1,3 +1,6 @@ +using System.Collections.Generic; +using System.Threading.Tasks; + namespace RelationshipAnalysis.Services.GraphServices.Abstraction; public interface IAttributesReceiver diff --git a/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvProcessorService.cs b/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvProcessorService.cs index 1f182ce..dedd2ae 100644 --- a/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvProcessorService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvProcessorService.cs @@ -1,3 +1,7 @@ +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; + namespace RelationshipAnalysis.Services.GraphServices.Abstraction; public interface ICsvProcessorService diff --git a/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvValidatorService.cs b/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvValidatorService.cs index ff63f28..ee46705 100644 --- a/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvValidatorService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Abstraction/ICsvValidatorService.cs @@ -1,3 +1,4 @@ +using Microsoft.AspNetCore.Http; using RelationshipAnalysis.Dto; namespace RelationshipAnalysis.Services.GraphServices.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Abstraction/IInfoReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Abstraction/IInfoReceiver.cs index 03b62b9..2bd0085 100644 --- a/RelationshipAnalysis/Services/GraphServices/Abstraction/IInfoReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Abstraction/IInfoReceiver.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Dto; namespace RelationshipAnalysis.Services.GraphServices.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/CsvProcessorService.cs b/RelationshipAnalysis/Services/GraphServices/CsvProcessorService.cs index 068b7b6..4e5e928 100644 --- a/RelationshipAnalysis/Services/GraphServices/CsvProcessorService.cs +++ b/RelationshipAnalysis/Services/GraphServices/CsvProcessorService.cs @@ -1,7 +1,11 @@ +using System.Collections.Generic; using System.Dynamic; using System.Globalization; +using System.IO; +using System.Threading.Tasks; using CsvHelper; using CsvHelper.Configuration; +using Microsoft.AspNetCore.Http; using RelationshipAnalysis.Services.GraphServices.Abstraction; namespace RelationshipAnalysis.Services.GraphServices; diff --git a/RelationshipAnalysis/Services/GraphServices/CsvValidatorService.cs b/RelationshipAnalysis/Services/GraphServices/CsvValidatorService.cs index 31b543f..403a837 100644 --- a/RelationshipAnalysis/Services/GraphServices/CsvValidatorService.cs +++ b/RelationshipAnalysis/Services/GraphServices/CsvValidatorService.cs @@ -1,7 +1,10 @@ using System.Globalization; +using System.IO; +using System.Linq; using AngleSharp.Text; using CsvHelper; using CsvHelper.Configuration; +using Microsoft.AspNetCore.Http; using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IContextEdgesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IContextEdgesAdditionService.cs index d2c2798..6b0f61e 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IContextEdgesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IContextEdgesAdditionService.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ICreateEdgeCategoryService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ICreateEdgeCategoryService.cs index ab24c13..92f7520 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ICreateEdgeCategoryService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ICreateEdgeCategoryService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeCategoryReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeCategoryReceiver.cs index 64eb7d2..55bb0b1 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeCategoryReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeCategoryReceiver.cs @@ -1,4 +1,7 @@ -namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; public interface IEdgeCategoryReceiver { diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeValueAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeValueAdditionService.cs index 24e0133..18aca1c 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeValueAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgeValueAdditionService.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgesAdditionService.cs index e5aa493..2956fe4 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/IEdgesAdditionService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ISingleEdgeAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ISingleEdgeAdditionService.cs index 755da4d..fc37bc8 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ISingleEdgeAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/Abstraction/ISingleEdgeAdditionService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Context; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Context; namespace RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/ContextEdgesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/ContextEdgesAdditionService.cs index 386c10c..b07f21d 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/ContextEdgesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/ContextEdgesAdditionService.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/CreateEdgeCategoryService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/CreateEdgeCategoryService.cs index 5b0e980..dfadbe4 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/CreateEdgeCategoryService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/CreateEdgeCategoryService.cs @@ -1,4 +1,8 @@ -using RelationshipAnalysis.Context; +using System; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeAttributesReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeAttributesReceiver.cs index fada0c6..9511747 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeAttributesReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeAttributesReceiver.cs @@ -1,4 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.GraphServices.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeCategoryReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeCategoryReceiver.cs index 2ee14c6..c6df1d5 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeCategoryReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeCategoryReceiver.cs @@ -1,4 +1,9 @@ -using Microsoft.EntityFrameworkCore; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeInfoReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeInfoReceiver.cs index 8061e7c..23ea32c 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeInfoReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeInfoReceiver.cs @@ -1,3 +1,8 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeValueAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeValueAdditionService.cs index 22dfea4..3e5eeb2 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/EdgeValueAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/EdgeValueAdditionService.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using RelationshipAnalysis.Context; using RelationshipAnalysis.Models.Graph.Edge; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/EdgesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/EdgesAdditionService.cs index b414b2a..5a7e964 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/EdgesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/EdgesAdditionService.cs @@ -1,4 +1,7 @@ -using Microsoft.EntityFrameworkCore; +using System; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Edge; diff --git a/RelationshipAnalysis/Services/GraphServices/Edge/SingleEdgeAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Edge/SingleEdgeAdditionService.cs index 7efff67..47ed261 100644 --- a/RelationshipAnalysis/Services/GraphServices/Edge/SingleEdgeAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Edge/SingleEdgeAdditionService.cs @@ -1,4 +1,7 @@ -using Microsoft.EntityFrameworkCore; +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.GraphServices.Edge.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IExpansionGraphReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IExpansionGraphReceiver.cs index 255cfaf..4b9e1d9 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IExpansionGraphReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IExpansionGraphReceiver.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphDtoCreator.cs b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphDtoCreator.cs index fc828c7..7390e21 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphDtoCreator.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphDtoCreator.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using RelationshipAnalysis.Dto.Graph; namespace RelationshipAnalysis.Services.GraphServices.Graph.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphReceiver.cs index 538553c..8c900b0 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/Abstraction/IGraphReceiver.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto.Graph; namespace RelationshipAnalysis.Services.GraphServices.Graph.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/ExpansionGraphReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Graph/ExpansionGraphReceiver.cs index 1c22f4e..2efb72a 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/ExpansionGraphReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/ExpansionGraphReceiver.cs @@ -1,4 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto.Graph; using RelationshipAnalysis.Models.Graph; @@ -14,19 +19,17 @@ public async Task GetExpansionGraph(int nodeId, string sourceCategoryN using var scope = serviceProvider.CreateScope(); var context = scope.ServiceProvider.GetRequiredService(); - var inputNodes = await GetInputNodes(sourceCategoryName); - var outputNodes = await GetOutputNodes(targetCategoryName); - var validEdges = await GetValidEdges(edgeCategoryName, inputNodes, outputNodes); + var inputNodes = await GetInputNodes(context, sourceCategoryName); + var outputNodes = await GetOutputNodes(context, targetCategoryName); + var validEdges = await GetValidEdges(context, edgeCategoryName, inputNodes, outputNodes); return graphDtoCreator.CreateResultGraphDto(inputNodes.Union(outputNodes).ToList(), validEdges); } - private async Task> GetValidEdges(string edgeCategoryName, List inputNodes, + private async Task> GetValidEdges(ApplicationDbContext context, string edgeCategoryName, List inputNodes, List outputNodes) { - using var scope = serviceProvider.CreateScope(); - var context = scope.ServiceProvider.GetRequiredService(); - + var validEdges = await context.Edges.Where(e => e.EdgeCategory.EdgeCategoryName == edgeCategoryName && inputNodes.Contains(e.NodeSource) && @@ -34,21 +37,15 @@ public async Task GetExpansionGraph(int nodeId, string sourceCategoryN return validEdges; } - private async Task> GetOutputNodes(string targetCategoryName) + private async Task> GetOutputNodes(ApplicationDbContext context, string targetCategoryName) { - using var scope = serviceProvider.CreateScope(); - var context = scope.ServiceProvider.GetRequiredService(); - var outputNodes = await context.Nodes.Where(n => n.NodeCategory.NodeCategoryName == targetCategoryName).ToListAsync(); return outputNodes; } - private async Task> GetInputNodes(string sourceCategoryName) + private async Task> GetInputNodes(ApplicationDbContext context, string sourceCategoryName) { - using var scope = serviceProvider.CreateScope(); - var context = scope.ServiceProvider.GetRequiredService(); - var inputNodes = await context.Nodes.Where(n => n.NodeCategory.NodeCategoryName == sourceCategoryName).ToListAsync(); return inputNodes; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/GraphDtoCreator.cs b/RelationshipAnalysis/Services/GraphServices/Graph/GraphDtoCreator.cs index 4892edf..f3469f5 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/GraphDtoCreator.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/GraphDtoCreator.cs @@ -1,3 +1,5 @@ +using System; +using System.Collections.Generic; using RelationshipAnalysis.Dto.Graph; using RelationshipAnalysis.Dto.Graph.Edge; using RelationshipAnalysis.Dto.Graph.Node; diff --git a/RelationshipAnalysis/Services/GraphServices/Graph/GraphReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Graph/GraphReceiver.cs index c7cdb05..fa6d7dd 100644 --- a/RelationshipAnalysis/Services/GraphServices/Graph/GraphReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Graph/GraphReceiver.cs @@ -1,4 +1,7 @@ +using System; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto.Graph; using RelationshipAnalysis.Services.GraphServices.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/IContextNodesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/IContextNodesAdditionService.cs index e10ff7c..2fc3f1f 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/IContextNodesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/IContextNodesAdditionService.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Models.Graph.Node; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ICreateNodeCategoryService.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ICreateNodeCategoryService.cs index e6e0888..f905872 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ICreateNodeCategoryService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ICreateNodeCategoryService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Node; namespace RelationshipAnalysis.Services.GraphServices.Node.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeCategoryReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeCategoryReceiver.cs index d3a6bc4..b2feef6 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeCategoryReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeCategoryReceiver.cs @@ -1,4 +1,7 @@ -namespace RelationshipAnalysis.Services.GraphServices.Node.Abstraction; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace RelationshipAnalysis.Services.GraphServices.Node.Abstraction; public interface INodeCategoryReceiver { diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeValueAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeValueAdditionService.cs index 3e1cd06..51b8602 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeValueAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodeValueAdditionService.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; namespace RelationshipAnalysis.Services.GraphServices.Node.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodesAdditionService.cs index a19e85c..d9b468a 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/INodesAdditionService.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Node; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ISingleNodeAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ISingleNodeAdditionService.cs index 245f5ce..dac897d 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ISingleNodeAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/Abstraction/ISingleNodeAdditionService.cs @@ -1,3 +1,5 @@ +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; namespace RelationshipAnalysis.Services.GraphServices.Node.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/ContextNodesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/ContextNodesAdditionService.cs index 0590f6c..b2aa1e8 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/ContextNodesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/ContextNodesAdditionService.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/CreateNodeCategoryService.cs b/RelationshipAnalysis/Services/GraphServices/Node/CreateNodeCategoryService.cs index b7830ec..bef52ef 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/CreateNodeCategoryService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/CreateNodeCategoryService.cs @@ -1,4 +1,8 @@ -using RelationshipAnalysis.Context; +using System; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Node; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/NodeAttributesReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Node/NodeAttributesReceiver.cs index 238d5f6..eb12c52 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/NodeAttributesReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/NodeAttributesReceiver.cs @@ -1,4 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.GraphServices.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/NodeCategoryReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Node/NodeCategoryReceiver.cs index e1d9013..e9c4dc8 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/NodeCategoryReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/NodeCategoryReceiver.cs @@ -1,4 +1,9 @@ -using Microsoft.EntityFrameworkCore; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Services.GraphServices.Node.Abstraction; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/NodeInfoReceiver.cs b/RelationshipAnalysis/Services/GraphServices/Node/NodeInfoReceiver.cs index 0d8fa2e..c78a3a6 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/NodeInfoReceiver.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/NodeInfoReceiver.cs @@ -1,4 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/NodeValueAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/NodeValueAdditionService.cs index e318f9f..7f60532 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/NodeValueAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/NodeValueAdditionService.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using RelationshipAnalysis.Context; using RelationshipAnalysis.Models.Graph.Node; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/NodesAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/NodesAdditionService.cs index 40c7a21..c7db6ac 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/NodesAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/NodesAdditionService.cs @@ -1,4 +1,7 @@ +using System; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.DependencyInjection; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Graph.Node; diff --git a/RelationshipAnalysis/Services/GraphServices/Node/SingleNodeAdditionService.cs b/RelationshipAnalysis/Services/GraphServices/Node/SingleNodeAdditionService.cs index 822f813..166b733 100644 --- a/RelationshipAnalysis/Services/GraphServices/Node/SingleNodeAdditionService.cs +++ b/RelationshipAnalysis/Services/GraphServices/Node/SingleNodeAdditionService.cs @@ -1,3 +1,6 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Context; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserDtoCreator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserDtoCreator.cs index f366e9b..57db847 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserDtoCreator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserDtoCreator.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto.Panel.Admin; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.AllUserService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserService.cs index 06bf286..1dd9510 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Models.Auth; using GetAllUsersDto = RelationshipAnalysis.Dto.Panel.Admin.GetAllUsersDto; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserServiceValidator.cs index c92504a..defd073 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/Abstraction/IAllUserServiceValidator.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserDtoCreator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserDtoCreator.cs index d32d870..c703690 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserDtoCreator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserDtoCreator.cs @@ -1,4 +1,6 @@ -using AutoMapper; +using System.Collections.Generic; +using System.Threading.Tasks; +using AutoMapper; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserService.cs index 337b2fa..99857d2 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserServiceValidator.cs index ba39e68..382aa30 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/AllUserService/AllUserServiceValidator.cs @@ -1,4 +1,6 @@ -using Microsoft.IdentityModel.Tokens; +using System.Collections.Generic; +using System.Threading.Tasks; +using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateService.cs index ec44eed..81c401e 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using CreateUserDto = RelationshipAnalysis.Dto.Panel.Admin.CreateUserDto; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateServiceValidator.cs index e031534..460ffee 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/Abstraction/IUserCreateServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.CreateUserService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateService.cs index b69d608..1d56887 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Services.CRUD.Role.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateServiceValidator.cs index f00e54e..ea03afb 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/CreateUserService/UserCreateServiceValidator.cs @@ -1,4 +1,8 @@ -using Microsoft.IdentityModel.Tokens; +using System; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.Admin; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteService.cs index 19ddd23..50076f3 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.UserDeleteService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteServiceValidator.cs index 659a4cf..09071be 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/Abstraction/IUserDeleteServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.UserDeleteService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteService.cs index 4babb99..402e429 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth; using RelationshipAnalysis.Services.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteServiceValidator.cs index 5d08d68..d8d95cf 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserDeleteService/UserDeleteServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth; using RelationshipAnalysis.Services.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesService.cs index c50cd88..3546791 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.UserUpdateRolesService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesServiceValidator.cs index f66f1af..d09980c 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/Abstraction/IUserUpdateRolesServiceValidator.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.AdminPanelServices.UserUpdateRolesService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesService.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesService.cs index b677a12..b309655 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesService.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesService.cs @@ -1,4 +1,6 @@ -using RelationshipAnalysis.Dto; +using System.Collections.Generic; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth; using RelationshipAnalysis.Services.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesServiceValidator.cs b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesServiceValidator.cs index c97aac9..9389caa 100644 --- a/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/AdminPanelServices/UserUpdateRolesService/UserUpdateRolesServiceValidator.cs @@ -1,4 +1,9 @@ -using Microsoft.IdentityModel.Tokens; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.IdentityModel.Tokens; using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/Abstraction/ILogoutService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/Abstraction/ILogoutService.cs index e1f222d..86c8d3d 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/Abstraction/ILogoutService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/Abstraction/ILogoutService.cs @@ -1,3 +1,5 @@ +using Microsoft.AspNetCore.Http; + namespace RelationshipAnalysis.Services.Panel.UserPanelServices.LogoutService.Abstraction; public interface ILogoutService diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/LogoutService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/LogoutService.cs index 8afe221..aa4fb06 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/LogoutService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/LogoutService/LogoutService.cs @@ -1,3 +1,4 @@ +using Microsoft.AspNetCore.Http; using RelationshipAnalysis.Services.Panel.UserPanelServices.LogoutService.Abstraction; namespace RelationshipAnalysis.Services.Panel.UserPanelServices.LogoutService; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/Abstraction/IPermissionService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/Abstraction/IPermissionService.cs index b77b4ea..6f81f19 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/Abstraction/IPermissionService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/Abstraction/IPermissionService.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; using PermissionDto = RelationshipAnalysis.Dto.Panel.User.PermissionDto; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/PermissionService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/PermissionService.cs index 9e7ee93..a1daefa 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/PermissionService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/PermissionsService/PermissionService.cs @@ -1,4 +1,5 @@ -using Newtonsoft.Json; +using System.Threading.Tasks; +using Newtonsoft.Json; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoService.cs index 9147a98..3a7bc87 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoService.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoServiceValidator.cs index f50cdeb..58c6838 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserInfoServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserOutputInfoDtoCreator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserOutputInfoDtoCreator.cs index 6580bfc..93d0659 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserOutputInfoDtoCreator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/Abstraction/IUserOutputInfoDtoCreator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto.Panel.User; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; namespace RelationshipAnalysis.Services.Panel.UserPanelServices.UserInfoService.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoService.cs index f88f5ad..eae0f1c 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoService.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoServiceValidator.cs index 83893d7..01efaa8 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserInfoServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserOutputInfoDtoCreator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserOutputInfoDtoCreator.cs index 90ee542..03ef2c7 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserOutputInfoDtoCreator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserInfoService/UserOutputInfoDtoCreator.cs @@ -1,4 +1,5 @@ -using AutoMapper; +using System.Threading.Tasks; +using AutoMapper; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; using RelationshipAnalysis.Services.CRUD.Role.Abstraction; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoService.cs index 8127573..11f8402 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoService.cs @@ -1,3 +1,5 @@ +using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoServiceValidator.cs index be53e4f..f1984e6 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/Abstraction/IUserUpdateInfoServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoService.cs index 32a6c45..08a5592 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoService.cs @@ -1,4 +1,6 @@ +using System.Threading.Tasks; using AutoMapper; +using Microsoft.AspNetCore.Http; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoServiceValidator.cs index c7db0b1..270df43 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdateInfoService/UserUpdateInfoServiceValidator.cs @@ -1,4 +1,8 @@ -using RelationshipAnalysis.Context; +using System; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.Extensions.DependencyInjection; +using RelationshipAnalysis.Context; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordService.cs index c8580ff..f58203f 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordService.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordServiceValidator.cs index ebccf6e..50ee11f 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/Abstraction/IUserUpdatePasswordServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Models.Auth; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordService.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordService.cs index a2e0a86..c3a79e3 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordService.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordService.cs @@ -1,3 +1,4 @@ +using System.Threading.Tasks; using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; diff --git a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordServiceValidator.cs b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordServiceValidator.cs index e583549..328ca55 100644 --- a/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordServiceValidator.cs +++ b/RelationshipAnalysis/Services/Panel/UserPanelServices/UserUpdatePasswordService/UserUpdatePasswordServiceValidator.cs @@ -1,4 +1,5 @@ -using RelationshipAnalysis.Dto; +using System.Threading.Tasks; +using RelationshipAnalysis.Dto; using RelationshipAnalysis.Dto.Panel.User; using RelationshipAnalysis.Enums; using RelationshipAnalysis.Models.Auth;