Finance/Schaad.Finance.Api/AccountStatements/AccountStatementResult.cs
2019-07-06 15:12:08 +02:00

18 lines
482 B
C#

namespace Schaad.Finance.Api.AccountStatements
{
public class AccountStatementResult
{
public readonly AccountStatement AccountStatement;
public readonly bool IsSuccess;
public readonly string Error;
public AccountStatementResult(AccountStatement accountStatement, string error)
{
AccountStatement = accountStatement;
Error = error;
IsSuccess = string.IsNullOrEmpty(error);
}
}
}