Admin controller, Locations controller, requests to add available countries, request to get available countries
This commit is contained in:
		| @@ -3,4 +3,11 @@ using Domains.LocationDomain; | ||||
|  | ||||
| namespace ApplicationLayer.DataAccessingServices.Locations.NeededServices; | ||||
|  | ||||
| public interface ICountriesRepository : IGenericRepository<Country>; | ||||
| public interface ICountriesRepository : IGenericRepository<Country> | ||||
| { | ||||
|     /// Gets country by name | ||||
|     /// <param name="countryName">Name of country to seek</param> | ||||
|     /// <param name="cancellationToken">Cancellation Token</param> | ||||
|     /// <returns>Country or null if not found</returns> | ||||
|     Task<Country?> FindByName(string countryName, CancellationToken cancellationToken); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user