using Grand.Domain.Directory;
using Grand.Web.Admin.Models.Directory;

namespace Grand.Web.Admin.Interfaces;

public interface ICountryViewModelService
{
    CountryModel PrepareCountryModel();
    Task<Country> InsertCountryModel(CountryModel model);
    Task<Country> UpdateCountryModel(Country country, CountryModel model);
    StateProvinceModel PrepareStateProvinceModel(string countryId);
    Task<StateProvince> InsertStateProvinceModel(StateProvinceModel model);
    Task<StateProvince> UpdateStateProvinceModel(StateProvince sp, StateProvinceModel model);
}