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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.Domain.Customers;
using Grand.Web.AdminShared.Models.Customers;
namespace Grand.Web.AdminShared.Interfaces;
public interface ICustomerAttributeViewModelService
{
Task<IEnumerable<CustomerAttributeModel>> PrepareCustomerAttributes();
CustomerAttributeModel PrepareCustomerAttributeModel();
CustomerAttributeModel PrepareCustomerAttributeModel(CustomerAttribute customerAttribute);
Task<CustomerAttribute> InsertCustomerAttributeModel(CustomerAttributeModel model);
Task<CustomerAttribute> UpdateCustomerAttributeModel(CustomerAttributeModel model,
CustomerAttribute customerAttribute);
Task DeleteCustomerAttribute(string id);
Task DeleteCustomerAttributeValue(CustomerAttributeValueModel model);
Task<IEnumerable<CustomerAttributeValueModel>> PrepareCustomerAttributeValues(string customerAttributeId);
CustomerAttributeValueModel PrepareCustomerAttributeValueModel(string customerAttributeId);
Task<CustomerAttributeValue> InsertCustomerAttributeValueModel(CustomerAttributeValueModel model);
CustomerAttributeValueModel PrepareCustomerAttributeValueModel(CustomerAttributeValue customerAttributeValue);
Task<CustomerAttributeValue> UpdateCustomerAttributeValueModel(CustomerAttributeValueModel model,
CustomerAttributeValue customerAttributeValue);
}