Webiant Logo Webiant Logo
  1. No results found.

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

IStoreService.cs

using Nop.Core.Domain.Stores;

namespace Nop.Services.Stores;

/// 
/// Store service interface
/// 
public partial interface IStoreService
{
    /// 
    /// Deletes a store
    /// 
    /// Store
    /// A task that represents the asynchronous operation
    Task DeleteStoreAsync(Store store);

    /// 
    /// Gets all stores
    /// 
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the stores
    /// 
    Task> GetAllStoresAsync();

    /// 
    /// Gets all stores
    /// 
    /// 
    /// The stores
    /// 
    IList GetAllStores();

    /// 
    /// Gets a store 
    /// 
    /// Store identifier
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the store
    /// 
    Task GetStoreByIdAsync(int storeId);

    /// 
    /// Inserts a store
    /// 
    /// Store
    /// A task that represents the asynchronous operation
    Task InsertStoreAsync(Store store);

    /// 
    /// Updates the store
    /// 
    /// Store
    /// A task that represents the asynchronous operation
    Task UpdateStoreAsync(Store store);

    /// 
    /// Updates the store
    /// 
    /// Store
    void UpdateStore(Store store);

    /// 
    /// Indicates whether a store contains a specified host
    /// 
    /// Store
    /// Host
    /// true - contains, false - no
    bool ContainsHostValue(Store store, string host);

    /// 
    /// Returns a list of names of not existing stores
    /// 
    /// The names and/or IDs of the store to check
    /// 
    /// A task that represents the asynchronous operation
    /// The task result contains the list of names and/or IDs not existing stores
    /// 
    Task GetNotExistingStoresAsync(string[] storeIdsNames);
}