Extension.Api.DomainManager reference
Every extension in Sana has access to website domain related functionality via its Api.DomainManager
. This property holds an instance of WebsiteDomainManager
type which serves as an entry point to website domains functionality.
Methods
GetDomainsAsync
Gets the list of website domains associated with the current web store.
var domains = await Api.DomainManager.GetDomainsAsync();