24 lines
760 B
C#
24 lines
760 B
C#
using EgwCoreLib.Lux.Data.DbModel.Items;
|
|
using static EgwCoreLib.Lux.Core.Enums;
|
|
|
|
namespace EgwCoreLib.Lux.Data.Repository.Items
|
|
{
|
|
public interface ISellingItemRepository : IBaseRepository
|
|
{
|
|
#region Public Methods
|
|
|
|
Task<bool> AddAsync(SellingItemModel entity);
|
|
|
|
Task<bool> DeleteAsync(SellingItemModel entity);
|
|
|
|
Task<SellingItemModel?> GetByIdAsync(int recId);
|
|
|
|
Task<List<SellingItemModel>> GetByEnvirAsync(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS envir);
|
|
|
|
Task<List<SellingItemModel>> GetFiltAsync(EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS envir, ItemSourceType sourceType);
|
|
|
|
Task<bool> UpdateAsync(SellingItemModel entity);
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |