Refactored and fixed errors
This commit is contained in:
		| @@ -1,14 +0,0 @@ | ||||
| using ApplicationLayer.Common; | ||||
| using Domains.LocationDomain; | ||||
|  | ||||
| namespace ApplicationLayer.Locations; | ||||
|  | ||||
| public interface ICitiesRepository : IGenericRepository<City> | ||||
| { | ||||
|     /// Find the city by its name and its country name | ||||
|     /// <param name="name">City's name</param> | ||||
|     /// <param name="countryName">City's country name</param> | ||||
|     /// <param name="cancellationToken">Cancellation token</param> | ||||
|     /// <returns>City with specific name and country</returns> | ||||
|     Task<City> GetByNameAsync(string name, string countryName, CancellationToken cancellationToken); | ||||
| } | ||||
| @@ -0,0 +1,6 @@ | ||||
| using ApplicationLayer.GeneralNeededServices; | ||||
| using Domains.LocationDomain; | ||||
|  | ||||
| namespace ApplicationLayer.Locations.NeededServices; | ||||
|  | ||||
| public interface ICitiesRepository : IGenericRepository<City> { } | ||||
| @@ -1,6 +1,6 @@ | ||||
| using ApplicationLayer.Common; | ||||
| using ApplicationLayer.GeneralNeededServices; | ||||
| using Domains.LocationDomain; | ||||
| 
 | ||||
| namespace ApplicationLayer.Locations; | ||||
| namespace ApplicationLayer.Locations.NeededServices; | ||||
| 
 | ||||
| public interface ICountriesRepository : IGenericRepository<Country> { } | ||||
		Reference in New Issue
	
	Block a user