35 lines
993 B
C#
35 lines
993 B
C#
using Nop.Core;
|
|
using Nop.Plugin.Misc.AuctionPlugin.Domains;
|
|
using Nop.Plugin.Misc.AuctionPlugin.Domains.Entities;
|
|
|
|
namespace Nop.Plugin.Misc.AuctionPlugin.Services;
|
|
|
|
/// <summary>
|
|
/// Store pickup point service interface
|
|
/// </summary>
|
|
public interface IAuctionService
|
|
{
|
|
/// <summary>
|
|
/// Gets all bids
|
|
/// </summary>
|
|
/// <param name="customerId">The store identifier; pass 0 to load all records</param>
|
|
/// <param name="pageIndex">Page index</param>
|
|
/// <param name="pageSize">Page size</param>
|
|
/// <returns>
|
|
/// A task that represents the asynchronous operation
|
|
/// The task result contains the bids
|
|
/// </returns>
|
|
Task<IPagedList<AuctionBid>> GetAllBidsAsync(int customerId = 0, int pageIndex = 0, int pageSize = int.MaxValue);
|
|
|
|
|
|
Task<AuctionBid> GetBidByIdAsync(int bidId);
|
|
|
|
|
|
Task InsertBidAsync(AuctionBid auctionBid);
|
|
|
|
|
|
Task UpdateBidAsync(AuctionBid auctionBid);
|
|
|
|
|
|
Task DeleteBidAsync(AuctionBid pickupPoint);
|
|
} |