27 lines
648 B
C#
27 lines
648 B
C#
using EgwCoreLib.Lux.Data.DbModel.Sales;
|
|
|
|
namespace EgwCoreLib.Lux.Data.Repository.Sales
|
|
{
|
|
public interface IOfferRowRepository : IBaseRepository
|
|
{
|
|
#region Public Methods
|
|
|
|
Task<bool> AddAsync(OfferRowModel entity);
|
|
|
|
Task<bool> DeleteAsync(OfferRowModel entity);
|
|
|
|
Task<OfferRowModel?> GetByUidAsync(string offerRowUid);
|
|
|
|
Task<OfferRowModel?> GetByIdAsync(int offerRowId);
|
|
|
|
Task<List<OfferRowModel>> GetByParentAsync(int offerId);
|
|
|
|
Task<bool> SaveRowsAsync(List<OfferRowModel> rows);
|
|
|
|
Task<bool> UpdateAsync(OfferRowModel entity);
|
|
|
|
|
|
#endregion Public Methods
|
|
}
|
|
}
|