using Nop.Web.Models.Directory; namespace Nop.Web.Factories; /// /// Represents the interface of the country model factory /// public partial interface ICountryModelFactory { /// /// Get states and provinces by country identifier /// /// Country identifier /// Whether to add "Select state" item to list of states /// /// A task that represents the asynchronous operation /// The task result contains the list of identifiers and names of states and provinces /// Task> GetStatesByCountryIdAsync(int countryId, bool addSelectStateItem); }