using Microsoft.AspNetCore.Mvc.Rendering; namespace Nop.Web.Areas.Admin.Factories; /// /// Represents the base model factory that implements a most common admin model factories methods /// public partial interface IBaseAdminModelFactory { /// /// Prepare available activity log types /// /// Activity log type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareActivityLogTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available order statuses /// /// Order status items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareOrderStatusesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available payment statuses /// /// Payment status items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PreparePaymentStatusesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available shipping statuses /// /// Shipping status items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareShippingStatusesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available countries /// /// Country items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareCountriesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available states and provinces /// /// State and province items /// Country identifier; pass null to don't load states and provinces /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareStatesAndProvincesAsync(IList items, int? countryId, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available languages /// /// Language items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareLanguagesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available stores /// /// Store items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareStoresAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available customer roles /// /// Customer role items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareCustomerRolesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available email accounts /// /// Email account items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareEmailAccountsAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available tax categories /// /// Tax category items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareTaxCategoriesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available categories /// /// Category items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareCategoriesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available manufacturers /// /// Manufacturer items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareManufacturersAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available vendors /// /// Vendor items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareVendorsAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available product types /// /// Product type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareProductTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available category templates /// /// Category template items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareCategoryTemplatesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available time zones /// /// Time zone items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareTimeZonesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available shopping cart types /// /// Shopping cart type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareShoppingCartTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available tax display types /// /// Tax display type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareTaxDisplayTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available currencies /// /// Currency items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareCurrenciesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available discount types /// /// Discount type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareDiscountTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available log levels /// /// Log level items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareLogLevelsAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available manufacturer templates /// /// Manufacturer template items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareManufacturerTemplatesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available load plugin modes /// /// Load plugin mode items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareLoadPluginModesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available plugin groups /// /// Plugin group items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PreparePluginGroupsAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available return request statuses /// /// Return request status items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareReturnRequestStatusesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available product templates /// /// Product template items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareProductTemplatesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available topic templates /// /// Topic template items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareTopicTemplatesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available warehouses /// /// Warehouse items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareWarehousesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available delivery dates /// /// Delivery date items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareDeliveryDatesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available product availability ranges /// /// Product availability range items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareProductAvailabilityRangesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available GDPR request types /// /// Request type items /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareGdprRequestTypesAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); /// /// Prepare available specification attribute groups /// /// Specification attributes /// Whether to insert the first special item for the default value /// Default item text; pass null to use default value of the default item text /// A task that represents the asynchronous operation Task PrepareSpecificationAttributeGroupsAsync(IList items, bool withSpecialDefaultItem = true, string defaultItemText = null); }