using EgwCoreLib.Lux.Core.RestPayload; using EgwCoreLib.Lux.Data.DbModel.Items; using static EgwCoreLib.Lux.Core.Enums; namespace EgwCoreLib.Lux.Data.Repository.Items { public interface IItemRepository : IBaseRepository { #region Public Methods Task AddAsync(ItemModel entity); Task DeleteAsync(ItemModel entity); Task GetByIdAsync(int recId); Task> GetAltAsync(int recId); Task> GetFiltAsync(string CodGroup, ItemClassType ItemType); Task> GetSearchAsync(string term); Task MassUpdateAsync(List list2upd, double setCost, double defMargin, double defQtyMax, string defUM, int roundVal = 0, double scaleFactor = 1_000_000.0); Task UpdateAsync(ItemModel entity); Task UpsertFromBomAsync(List bomList); #endregion Public Methods } }