updating countries
This commit is contained in:
		| @@ -6,8 +6,8 @@ namespace ApplicationLayer.Services.Locations.NeededServices; | ||||
| 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); | ||||
|     Task<Country?> FindByNameAsync(string countryName, CancellationToken cancellationToken); | ||||
|  | ||||
|     /// Gets country by identifier | ||||
|     Task<Country?> FindByIdAsync(Guid id, CancellationToken cancellationToken); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user