Files
mws.backend.dotnet/application/Common/Repositories/IMasterDataRepository.cs
T

14 lines
697 B
C#
Raw Normal View History

2026-08-19 23:25:08 +07:00
using mws.backend.dotnet.application.Common;
2026-09-13 18:02:09 +07:00
using mws.backend.dotnet.application.MasterData;
2026-08-19 23:25:08 +07:00
using mws.backend.dotnet.domain.MasterData;
namespace mws.backend.dotnet.application.Common.Repositories;
public interface IMasterDataRepository : IRepository<MasterDataEntry>
{
2026-09-13 18:02:09 +07:00
Task<PagedResult<MasterDataEntry>> GetAllAsync(MasterDataFilter filter, int page, int pageSize, CancellationToken ct = default);
2026-08-19 23:25:08 +07:00
Task<List<MasterDataEntry>> GetActiveByGroupAsync(string group, CancellationToken ct = default);
Task<MasterDataEntry?> GetByIdAsync(Guid id, CancellationToken ct = default);
Task<bool> ExistsAsync(string group, string value, Guid? excludeId, CancellationToken ct = default);
}