updating countries
This commit is contained in:
		| @@ -0,0 +1,7 @@ | ||||
| using Infrastructure.Database.GeneralExceptions; | ||||
|  | ||||
| namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions | ||||
| { | ||||
|     public class CityCanNotBeDeletedException(string cityName) | ||||
|         : EntityUsedInDatabaseException($"{cityName} can not be deleted because some applicants live or work in it"); | ||||
| } | ||||
| @@ -0,0 +1,7 @@ | ||||
| using Domains.LocationDomain; | ||||
| using Infrastructure.Database.GeneralExceptions; | ||||
|  | ||||
| namespace ApplicationLayer.Services.Locations.RequestHandlers.Exceptions | ||||
| { | ||||
|     public class CountryNotFoundException(string countryName) : EntityNotFoundException<Country>($"Country {countryName} is not supported."); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user