Files
monorepo/LCU.Api.Internal.CoreApiWrapper/LCU.Library.Internal.CoreApiWrapperLib/DataAccess/IAddressDao.cs
T
2026-03-31 14:32:23 -05:00

20 lines
1.1 KiB
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels;
using LCU.Library.Internal.CoreApiWrapperModel.CoreModels.PostalAddresses;
namespace LCU.Library.Internal.CoreApiWrapperLib.DataAccess
{
public interface IAddressDao
{
Task<CoreApiMessage<PersonPostalAddress>> FindByPersonNumberAddressNumber(CoreRequestParameters coreRequestParameters,
string personId,
string postalAddressId);
Task<CoreApiMessage<IReadOnlyCollection<PersonPostalAddress>>> FindByPersonNumber(CoreRequestParameters coreRequestParameters,
string personNumber);
Task<PersonPostalAddress> InsertPersonPostalAddress(PersonPostalAddress request);
Task<string> RemovePersonPostalAddress(CoreApiMessage<PersonPostalAddress> request);
Task<PersonAddrLine> UpdatePersonAddrLine(CoreApiMessage<PersonAddrLine> request);
}
}