Table of Contents

Class CountryService

Namespace
Rescope.Commerce.Core.Services
Assembly
Rescope.Commerce.Core.dll
Note

For comments, please see ICountryService

public class CountryService : ServiceBase<Country>, ICountryService, IService<Country>, IServiceCreatable<Country>
Inheritance
CountryService
Implements
Inherited Members

Constructors

CountryService(IEFCoreScopeProvider<CommerceDbContext>)

public CountryService(IEFCoreScopeProvider<CommerceDbContext> efCoreScopeProvider)

Parameters

efCoreScopeProvider IEFCoreScopeProvider<CommerceDbContext>

Methods

BulkDisable(IEnumerable<Guid>)

public Task BulkDisable(IEnumerable<Guid> guids)

Parameters

guids IEnumerable<Guid>

Returns

Task

BulkEnable(IEnumerable<Guid>)

public Task BulkEnable(IEnumerable<Guid> guids)

Parameters

guids IEnumerable<Guid>

Returns

Task

List(Guid, int, string?, SortOrder, string?)

public Task<PaginatedResponse<Country>> List(Guid storeId, int page = 1, string? filter = null, SortOrder order = SortOrder.DESC, string? sortBy = null)

Parameters

storeId Guid
page int
filter string
order SortOrder
sortBy string

Returns

Task<PaginatedResponse<Country>>