public LeasePakReportingResponse(ILeasePakReport report, bool success) { _report = report; Success = success && report != null; Report = new LeasePakReportResponse(_report); }
public LeasePakReportResponse(ILeasePakReport report) { _report = report; Rows = _report?.GetDataRows() .Select(r => new LeasePakReportRowResponse(r)) .ToList(); Bytes = _report?.GetBytes(); }