Save new country.
The data for the new country to be saved.
A promise that resolves with an object indicating success and the saved Country document.
saveCountry
Update one country by its ID.
The new data for the country.
The ObjectId of the country to update.
A promise that resolves with an object containing a success indicator and the updated Country document.
updateCountryById
Generated using TypeDoc
Country Controller class.
This class is responsible for handling country-related requests, delegating the necessary operations to the CountryRepository.