Table of Contents

Interface IService<T>

Namespace
Rescope.Commerce.Core.Services
Assembly
Rescope.Commerce.Core.dll
public interface IService<T>

Type Parameters

T

Methods

Delete(Guid)

Task Delete(Guid id)

Parameters

id Guid

Returns

Task

Get(Guid)

Task<T> Get(Guid id)

Parameters

id Guid

Returns

Task<T>

GetPage(int)

Task<PaginatedResponse<T>> GetPage(int page)

Parameters

page int

Returns

Task<PaginatedResponse<T>>

List()

Task<IEnumerable<T>> List()

Returns

Task<IEnumerable<T>>

Update(T)

Task<IEnumerable<string>> Update(T entity)

Parameters

entity T

Returns

Task<IEnumerable<string>>