Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IStoreContext.cs

using Nop.Core.Domain.Stores;

namespace Nop.Core;

/// <summary>
/// Store context
/// </summary>
public partial interface IStoreContext
{
    /// <summary>
    /// Gets the current store
    /// </summary>
    /// <returns>A task that represents the asynchronous operation</returns>
    Task<Store> GetCurrentStoreAsync();

    /// <summary>
    /// Gets the current store
    /// </summary>
    Store GetCurrentStore();

    /// <summary>
    /// Gets active store scope configuration
    /// </summary>
    /// <returns>A task that represents the asynchronous operation</returns>
    Task<int> GetActiveStoreScopeConfigurationAsync();
}