ClearOneDalDemo/SettlementAttempt/ISettlementAttemptDataAccess.cs
2020-09-15 18:10:53 -04:00

22 lines
621 B
C#

using BinaryDad.AggregateDal.Models;
namespace BinaryDad.AggregateDal
{
public interface ISettlementAttemptDataAccess
{
/// <summary>
/// Adds a new settlement attempt
/// </summary>
/// <param name="attempt"></param>
/// <returns>Whether the add operation was successful</returns>
bool AddAttempt(SettlementAttempt attempt);
/// <summary>
/// Retrieves an existing settlement attempt
/// </summary>
/// <param name="recordId"></param>
/// <returns></returns>
SettlementAttempt GetAttempt(int recordId);
}
}