using Features.Locations.Dtos;
namespace Features.Locations.Repository;
///
/// Resolves the Country/StateProvince/City location hierarchy shared by features that attach a
/// location to a record (e.g. brewery posts, and eventually user accounts).
///
public interface ILocationRepository
{
///
/// Resolves to a City ID, creating the Country, StateProvince,
/// and/or City rows if any part of the chain doesn't exist yet.
///
Task GetOrCreateCityIdAsync(CityLocation location);
}