10 lines
301 B
C#
10 lines
301 B
C#
using SPMS.Domain.Entities;
|
|
|
|
namespace SPMS.Domain.Interfaces;
|
|
|
|
public interface INoticeRepository : IRepository<Notice>
|
|
{
|
|
Task<(IReadOnlyList<Notice> Items, int TotalCount)> GetActivePagedAsync(long serviceId, int page, int size);
|
|
Task<Notice?> GetActiveByIdAsync(long id, long serviceId);
|
|
}
|