You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							745 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							745 B
						
					
					
				
								using System;
							 | 
						|
								using System.Threading.Tasks;
							 | 
						|
								using Volo.Abp.Account;
							 | 
						|
								using Volo.Abp.DependencyInjection;
							 | 
						|
								
							 | 
						|
								namespace Shentun.Peis.HttpApi.Client.ConsoleTestApp;
							 | 
						|
								
							 | 
						|
								public class ClientDemoService : ITransientDependency
							 | 
						|
								{
							 | 
						|
								    private readonly IProfileAppService _profileAppService;
							 | 
						|
								
							 | 
						|
								    public ClientDemoService(IProfileAppService profileAppService)
							 | 
						|
								    {
							 | 
						|
								        _profileAppService = profileAppService;
							 | 
						|
								    }
							 | 
						|
								
							 | 
						|
								    public async Task RunAsync()
							 | 
						|
								    {
							 | 
						|
								        var output = await _profileAppService.GetAsync();
							 | 
						|
								        Console.WriteLine($"UserName : {output.UserName}");
							 | 
						|
								        Console.WriteLine($"Email    : {output.Email}");
							 | 
						|
								        Console.WriteLine($"Name     : {output.Name}");
							 | 
						|
								        Console.WriteLine($"Surname  : {output.Surname}");
							 | 
						|
								    }
							 | 
						|
								}
							 |