item mng with sync
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Distribution.Features.Item;
|
||||
|
||||
public interface IItemRepository
|
||||
{
|
||||
Task<Models.Item?> GetByIdAsync(Guid id);
|
||||
Task<List<Models.Item>> GetAllAsync(Guid? categoryId = null, Guid? subCategoryId = null, Guid? brandId = null);
|
||||
Task<bool> SkuExistsAsync(string sku, Guid? excludeId = null);
|
||||
Task<Models.Item?> GetByExternalErpItemIdAsync(int erpId);
|
||||
Task AddAsync(Models.Item entity);
|
||||
void Update(Models.Item entity);
|
||||
void Remove(Models.Item entity);
|
||||
Task ReplaceConversionsAsync(Guid itemId, List<Models.UomConversion> conversions);
|
||||
}
|
||||
Reference in New Issue
Block a user