Collected the concept of grabbing location-based data into one aggregate. A Location can be created using any of a country's name, code, or id, and a correct result will be returned by using getLocationData instead of the previous specific functions. getLocations was also refactored to getAllLocations for clearer understanding.
Collected the concept of grabbing location-based data into one aggregate. A Location can be created using any of a country's name, code, or id, and a correct result will be returned by using getLocationData instead of the previous specific functions. getLocations was also refactored to getAllLocations for clearer understanding.