@@ -1,7 +1,4 @@
 
		
	
		
			
				 using  Core.Blueprint.Storage.Adapter s ;  
		
	
		
			
				using  Core.Thalos.Adapters ;  
		
	
		
			
				using  Core.Thalos.Adapters.Common.Constants ;  
		
	
		
			
				using  Core.Thalos.Adapters.Common.Enums ;  
		
	
		
			
				 using  Core.Thalos.BuildingBlock s ;  
		
	
		
			
				using  Core.Thalos.External.Clients.Requests ;  
		
	
		
			
				using  Microsoft.AspNetCore.Mvc ;  
		
	
		
			
				using  Refit ;  
		
	
	
		
			
				
					
					
						
					 
				
			
			@@ -35,23 +32,11 @@ namespace Core.Thalos.External.Clients
 
		
	
		
			
				        Task < UserAdapter >  LogoutUserAsync ( [ FromRoute ]  string  email ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Patch("/v1/User/" + Routes.ChangeStatus)]  
		
	
		
			
				        Task < UserAdapter >  ChangeUserStatusAsync ( [ FromRoute ]  string  id ,  StatusEnum  newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				        Task < UserAdapter >  ChangeUserStatusAsync ( [ FromRoute ]  string  id ,  Blueprint . Mongo . newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Get("/v1/User/{email}/GetTokenAdapter")]  
		
	
		
			
				        Task < TokenAdapter >  GetTokenAdapter ( [ FromRoute ]  string  email ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Post("/v1/User/" + Routes.AddCompany)]  
		
	
		
			
				        Task < UserAdapter >  AddCompanyToUserAsync ( [ FromRoute ]  string  userId ,  [ FromRoute ]  string  companyId ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Delete("/v1/User/" + Routes.RemoveCompany)]  
		
	
		
			
				        Task < UserAdapter >  RemoveCompanyToUserAsync ( [ FromRoute ]  string  userId ,  [ FromRoute ]  string  companyId ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Post("/v1/User/" + Routes.AddProject)]  
		
	
		
			
				        Task < UserAdapter >  AddProjectToUserAsync ( [ FromRoute ]  string  userId ,  [ FromRoute ]  string  projectId ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Delete("/v1/User/" + Routes.RemoveProject)]  
		
	
		
			
				        Task < UserAdapter >  RemoveProjectToUserAsync ( [ FromRoute ]  string  userId ,  [ FromRoute ]  string  projectId ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Get("/v1/Role")]  
		
	
		
			
				        Task < IEnumerable < RoleAdapter > >  GetAllRolesAsync ( CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
	
		
			
				
					
					
						
					 
				
			
			@@ -65,7 +50,7 @@ namespace Core.Thalos.External.Clients
 
		
	
		
			
				        Task < RoleAdapter >  UpdateRoleAsync ( [ FromBody ]  RoleAdapter  entity ,  [ FromRoute ]  string  id ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Patch("/v1/Role/" + Routes.ChangeStatus)]  
		
	
		
			
				        Task < RoleAdapter >  ChangeRoleStatusAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  StatusEnum  newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				        Task < RoleAdapter >  ChangeRoleStatusAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  Blueprint . Mongo . newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Post("/v1/Role/" + Routes.AddApplication)]  
		
	
		
			
				        Task < RoleAdapter >  AddApplicationToRoleAsync ( [ FromRoute ]  string  RoleId ,  [ FromRoute ]  ApplicationsEnum  application ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
	
		
			
				
					
					
						
					 
				
			
			@@ -89,7 +74,7 @@ namespace Core.Thalos.External.Clients
 
		
	
		
			
				        Task < PermissionAdapter >  UpdatePermissionAsync ( [ FromBody ]  PermissionAdapter  entity ,  [ FromRoute ]  string  id ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Patch("/v1/Permission/" + Routes.ChangeStatus)]  
		
	
		
			
				        Task < PermissionAdapter >  ChangeStatusPermissionAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  StatusEnum  newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				        Task < PermissionAdapter >  ChangeStatusPermissionAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  Blueprint . Mongo . newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Get("/v1/Module")]  
		
	
		
			
				        Task < IEnumerable < ModuleAdapter > >  GetAllModulesAsync ( CancellationToken  cancellationToken  =  default ) ; 
 
		
	
	
		
			
				
					
					
						
					 
				
			
			@@ -107,6 +92,6 @@ namespace Core.Thalos.External.Clients
 
		
	
		
			
				        Task < ModuleAdapter >  UpdateModuleAsync ( [ FromBody ]  ModuleAdapter  entity ,  [ FromRoute ]  string  id ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				 
		
	
		
			
				        [Patch("/v1/Module/" + Routes.ChangeStatus)]  
		
	
		
			
				        Task < ModuleAdapter >  ChangeStatusModuleAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  StatusEnum  newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				        Task < ModuleAdapter >  ChangeStatusModuleAsync ( [ FromRoute ]  string  id ,  [ FromRoute ]  Blueprint . Mongo . newStatus ,  CancellationToken  cancellationToken  =  default ) ; 
 
		
	
		
			
				    } 
 
		
	
		
			
				}