20 lines
1.1 KiB
C#
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);
|
|
}
|
|
}
|