Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion EstateReportingAPI.BusinessLogic/ReportingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,11 @@ from s in sJoin.DefaultIfEmpty()
// Ok now enumerate the results
var queryResults = await query.ToListAsync(cancellationToken);
if (queryResults.Any() == false)
return response;
return new TransactionDetailReportResponse
{
Summary = new TransactionDetailSummary(),
Transactions = new List<TransactionDetail>()
};

// Now to translate the results
response = new TransactionDetailReportResponse {
Expand Down
Loading