18 lines
1.1 KiB
C#
18 lines
1.1 KiB
C#
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels.Agreements;
|
|
|
|
namespace LCU.API.Internal.MemberPreferencesApi.DataAccess;
|
|
|
|
public interface ICoreApiWrapperDao
|
|
{
|
|
public Task<Agreement> GetAgreementByUserId(string userId);
|
|
public Task<Agreement> GetAgreementByAgreementId(long agreementId);
|
|
public Task<IEnumerable<Agreement>> GetAgreementsByAccountId(long accountId);
|
|
public Task<AgreementAccount> GetAgreementAccountByAccountId(long accountId);
|
|
public Task<IEnumerable<AgreementAccount>> GetAgreementAccountsByUserId(string userId);
|
|
public Task<IEnumerable<AgreementAccount>> GetAgreementAccountsByOrganizationId(long organizationId);
|
|
public Task<IEnumerable<long>> GetAuditAccountsFromDateLastMaintained(DateTime dateTime);
|
|
public Task<IEnumerable<long>> GetAuditAgreementFromDateLastMaintained(DateTime dateTime);
|
|
public Task<IEnumerable<long>> GetAuditOrganizationFromDateLastMaintained(DateTime dateTime);
|
|
public Task UpdateAgreementAccountsDeliveryMethod(IEnumerable<long> accountIds, string deliveryMethod, string userId);
|
|
}
|