Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

739 B
Raw Blame
using Grand.Domain.Stores;
using Grand.Web.AdminShared.Models.Stores;

namespace Grand.Web.AdminShared.Interfaces;

public interface IStoreViewModelService
{
    Task PrepareLanguagesModel(StoreModel model);
    Task PrepareWarehouseModel(StoreModel model);
    Task PrepareCountryModel(StoreModel model);
    Task PrepareCurrencyModel(StoreModel model);
    StoreModel PrepareStoreModel();
    Task<Store> InsertStoreModel(StoreModel model);
    Task<Store> UpdateStoreModel(Store store, StoreModel model);
    Task DeleteStore(Store store);
    Task InsertDomainHostModel(Store store, DomainHostModel model);
    Task UpdateDomainHostModel(Store store, DomainHostModel model);
    Task DeleteDomainHostModel(Store store, string id);
}