15 lines
		
	
	
		
			573 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			573 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using ApplicationLayer.DataAccessingServices.Locations.NeededServices;
 | |
| using Domains.LocationDomain;
 | |
| 
 | |
| namespace ApplicationLayer.DataAccessingServices.Locations.RequestHandlers.ApplicantRequests
 | |
| {
 | |
|     /// <inheritdoc cref="ILocationRequestsHandler"/>
 | |
|     public class LocationRequestsHandler(ICountriesRepository countries) : ILocationRequestsHandler
 | |
|     {
 | |
|         async Task<List<Country>> ILocationRequestsHandler.HandleGetRequestAsync(CancellationToken cancellationToken)
 | |
|         {
 | |
|             return await countries.GetAllAsync(cancellationToken);
 | |
|         }
 | |
|     }
 | |
| }
 |