17 lines
726 B
C#
17 lines
726 B
C#
using LCU.Library.Internal.MemberPreferencesApiModels.Entities;
|
|
using LCU.Library.Internal.MemberPreferencesApiModels.Enums;
|
|
|
|
namespace LCU.API.Internal.MemberPreferencesApiLib.Repositories;
|
|
|
|
public interface IXdiBatchItemsRepository
|
|
{
|
|
Task<IReadOnlyCollection<XdiBatchItem>> GetXdiBatchItems();
|
|
Task<IReadOnlyCollection<XdiBatchItem>> GetNewXdiBatchItems();
|
|
Task<XdiBatchItem> SaveAsync(XdiBatchItem batchItem);
|
|
Task<List<XdiBatchItem>> SaveRangeAsync(List<XdiBatchItem> batchItemList);
|
|
Task<XdiBatchItem> FindExistingItem(string memberId, BatchState batchState);
|
|
void Update(XdiBatchItem existing);
|
|
void Delete(XdiBatchItem item);
|
|
Task<bool> MarkPendingSuccessful(List<string> memberList);
|
|
}
|