31 lines
709 B
C#
31 lines
709 B
C#
using System;
|
|
|
|
using Nop.Core;
|
|
|
|
using Nop.Plugin.Misc.AuctionPlugin.Domains;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
namespace Nop.Plugin.Misc.AuctionPlugin.Services
|
|
|
|
{
|
|
public interface IAnnouncementService
|
|
|
|
{
|
|
|
|
public Task DeleteAsync(AnnouncementEntity announcement);
|
|
|
|
public Task InsertAsync(AnnouncementEntity announcement);
|
|
|
|
public Task<bool> UpdateAsync(AnnouncementEntity announcement);
|
|
|
|
public Task<IPagedList<AnnouncementEntity>> GetAnnouncementsAsync(int pageIndex = 0, int pageSize = int.MaxValue);
|
|
|
|
public Task<AnnouncementEntity> GetAnnouncementDesignFirstAsync();
|
|
|
|
public Task<AnnouncementEntity> GetAnnouncementByIdAsync(int Id);
|
|
|
|
}
|
|
|
|
}
|